Packages

class CryptoStateWithMAC extends CryptoState

Source
CryptoInterface.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoStateWithMAC
  2. CryptoState
  3. IFinalizable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CryptoStateWithMAC(decryptionKey: ByteVector, encryptionKey: ByteVector, decryptionMACKey: ByteVector, encryptionMACKey: ByteVector)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assertNotClosed: Unit
    Definition Classes
    IFinalizable
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def close: Unit
    Definition Classes
    CryptoStateIFinalizable
  8. val closed: Boolean
    Definition Classes
    IFinalizable
  9. var decCryptoHandle: Pointer
    Definition Classes
    CryptoState
  10. def decrypt(ciphertext: ByteVector): ByteVector
    Definition Classes
    CryptoState
  11. val decryptionKey: ByteVector
    Definition Classes
    CryptoState
  12. val decryptionMACKey: ByteVector
  13. var encCryptoHandle: Pointer
    Definition Classes
    CryptoState
  14. def encrypt(plaintext: ByteVector): ByteVector
    Definition Classes
    CryptoState
  15. val encryptionKey: ByteVector
    Definition Classes
    CryptoState
  16. val encryptionMACKey: ByteVector
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Definition Classes
    IFinalizable → AnyRef
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def macAndEncrypt(message: ByteVector): ByteVector

    MACs the plaintext message, encrypts it, and then returns the encrypted message with the MAC appended to the end.

    MACs the plaintext message, encrypts it, and then returns the encrypted message with the MAC appended to the end.

    message

    Arbitrary set of bytes

    returns

    ByteVector

  24. def macForDecrypt(message: ByteVector): ByteVector

    Performs a MAC operation over the message.

    Performs a MAC operation over the message. Used when verifying decrypted packets

    message

    the input message

    returns

    ByteVector

  25. def macForEncrypt(message: ByteVector): ByteVector

    Performs a MAC operation over the message.

    Performs a MAC operation over the message. Used when encrypting packets

    message

    the input message

    returns

    ByteVector

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from CryptoState

Inherited from IFinalizable

Inherited from AnyRef

Inherited from Any

Ungrouped