xyz.wiedenhoeft

scalacrypt

package scalacrypt

Visibility
  1. Public
  2. All

Type Members

  1. sealed class AESEncryption[KeyType <: SymmetricKey] extends SymmetricEncryption[KeyType]

    Base class for AES encryptions.

  2. class JavaMac extends Mac

    Base class for MACs implemented in javax.

  3. trait Mac extends AnyRef

    Base class for MAC (Message Authentication Code) implementations.

  4. class PBKDF2 extends AnyRef

    Implementation of the password based key derivation function 2.

  5. class SymmetricCipherSuite[KeyType <: SymmetricKey] extends SymmetricEncryption[KeyType]

    Provides authenticated encryption using an encryption algorithm and a MAC as delegates.

  6. class SymmetricCipherSuiteException extends Exception

    Exception that is returned inside a Failure when something went wrong in a CipherSuite

  7. trait SymmetricEncryption[KeyType <: SymmetricKey] extends AnyRef

    Base trait for symmetric ciphers.

  8. class SymmetricEncryptionException extends Exception

    Exception that gets thrown when encryption fails somehow.

  9. trait SymmetricKey extends AnyRef

    A wrapper for a sequence of bytes used as a key for encryption.

  10. sealed abstract class SymmetricKey128 extends SymmetricKey

  11. sealed abstract class SymmetricKey192 extends SymmetricKey

  12. sealed abstract class SymmetricKey256 extends SymmetricKey

  13. class SymmetricKeyException extends Exception

Value Members

  1. object AES128 extends AESEncryption[SymmetricKey128]

    AES/CBC with a key length of 128 bits.

  2. object AES128HmacSHA1 extends SymmetricCipherSuite[SymmetricKey128]

    Cipher suite using AES with a key length of 128 bit and HMAC SHA1 as authentication.

  3. object AES128HmacSHA256 extends SymmetricCipherSuite[SymmetricKey128]

    Cipher suite using AES with a key length of 128 bit and HMAC SHA256 as authentication.

  4. object AES192 extends AESEncryption[SymmetricKey192]

    AES/CBC with a key length of 192 bits.

  5. object AES192HmacSHA1 extends SymmetricCipherSuite[SymmetricKey192]

    Cipher suite using AES with a key length of 192 bit and HMAC SHA1 as authentication.

  6. object AES192HmacSHA256 extends SymmetricCipherSuite[SymmetricKey192]

    Cipher suite using AES with a key length of 192 bit and HMAC SHA256 as authentication.

  7. object AES256 extends AESEncryption[SymmetricKey256]

    AES/CBC with a key length of 256 bits.

  8. object AES256HmacSHA1 extends SymmetricCipherSuite[SymmetricKey256]

    Cipher suite using AES with a key length of 256 bit and HMAC SHA1 as authentication.

  9. object AES256HmacSHA256 extends SymmetricCipherSuite[SymmetricKey256]

    Cipher suite using AES with a key length of 256 bit and HMAC SHA256 as authentication.

  10. object HmacSHA1 extends JavaMac

    HMAC-SHA1 implementation of Mac.

  11. object HmacSHA256 extends JavaMac

    HMAC-SHA256 implementation of Mac.

  12. object PBKDF2HmacSHA1 extends PBKDF2

  13. object PBKDF2HmacSHA256 extends PBKDF2

  14. object Random

    Secure random number generator.

  15. object SymmetricKey

    Singleton used to construct key objects of arbitrary length.

  16. object SymmetricKey128

  17. object SymmetricKey192

  18. object SymmetricKey256

Ungrouped