Class CipherBenchmark.Measurement

java.lang.Object
moe.kyokobot.koe.experimental.crypto.CipherBenchmark.Measurement
Enclosing class:
CipherBenchmark

public static final class CipherBenchmark.Measurement extends Object
  • Method Details

    • getMode

      @NotNull public @NotNull String getMode()
      Returns:
      the encryption mode name, as used by Discord
    • getNanosPerPacket

      public double getNanosPerPacket()
      Returns:
      median time to encrypt a packet, in nanoseconds
    • toString

      public String toString()
      Overrides:
      toString in class Object