Packages

package crypto

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class JcaCrypter extends Crypter

    Crypter implementation based on JCA (Java Cryptography Architecture).

    Crypter implementation based on JCA (Java Cryptography Architecture).

    The algorithm used in this implementation is AES/CTR/NoPadding. Beware that CTR is malleable, which might be abused for various attacks if messages are not properly authenticated.

  2. case class JcaCrypterSettings(key: String) extends Product with Serializable

    The settings for the JCA crypter.

    The settings for the JCA crypter.

    key

    The encryption key.

  3. class JcaSigner extends Signer

    Signer implementation based on JCA (Java Cryptography Architecture).

    Signer implementation based on JCA (Java Cryptography Architecture).

    This signer signs the data with the specified key. If the signature verification fails, the signer does not try to decode the data in any way in order to prevent various types of attacks.

  4. case class JcaSignerSettings(key: String, pepper: String = "-mohiva-silhouette-signer-") extends Product with Serializable

    The settings for the JCA signer.

    The settings for the JCA signer.

    key

    Key for signing.

    pepper

    Constant prepended and appended to the data before signing. When using one key for multiple purposes, using a specific pepper reduces some risks arising from this.

Value Members

  1. object JcaCrypter

    The companion object.

  2. object JcaSigner

    The companion object.

Ungrouped