o

uk.gov.hmrc.crypto

SymmetricCryptoFactory

object SymmetricCryptoFactory

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SymmetricCryptoFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def aesCrypto(secretKey: String): Encrypter with Decrypter

    An implementation of "AES" Cipher.

    An implementation of "AES" Cipher. Prefer aesGcmCrypto for any new usage, which will not produce repeatable encryptions.

  5. def aesCryptoFromConfig(baseConfigKey: String, config: Config): Encrypter with Decrypter

    An implementation of "AES" Cipher.

    An implementation of "AES" Cipher. Prefer aesGcmCryptoFromConfig for any new usage, which will not produce repeatable encryptions.

  6. def aesGcmAdCrypto(aesKey: String): AdEncrypter with AdDecrypter

    An implementation of "AES" Cipher, with "GCM" algorithm.

    An implementation of "AES" Cipher, with "GCM" algorithm. You can provide your own associated data when encrypting/decrypting.

  7. def aesGcmAdCryptoFromConfig(baseConfigKey: String, config: Config): AdEncrypter with AdDecrypter
  8. def aesGcmCrypto(secretKey: String): Encrypter with Decrypter

    An implementation of "AES" Cipher, with "GCM" algorithm.

    An implementation of "AES" Cipher, with "GCM" algorithm. Note, the associated data is always set to an empty array. Use aesGcmAdCrypto if you want to provide your own associated data.

  9. def aesGcmCryptoFromConfig(baseConfigKey: String, config: Config): Encrypter with Decrypter
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def composeAdCrypto(currentCrypto: AdEncrypter with AdDecrypter, previousDecrypters: Seq[AdDecrypter]): AdEncrypter with AdDecrypter

    Composes a current crypto for encryption and decryption, along with any previous decrypters.

    Composes a current crypto for encryption and decryption, along with any previous decrypters. This enables changing the crypto alorithm/secret key while still being able to decrypt any previously encrypted data.

  13. def composeCrypto(currentCrypto: Encrypter with Decrypter, previousDecrypters: Seq[Decrypter]): Encrypter with Decrypter

    Composes a current crypto for encryption and decryption, along with any previous decrypters.

    Composes a current crypto for encryption and decryption, along with any previous decrypters. This enables changing the crypto alorithm/secret key while still being able to decrypt any previously encrypted data.

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped