Class DefaultEncryption
java.lang.Object
io.fluxcapacitor.common.encryption.DefaultEncryption
- All Implemented Interfaces:
Encryption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionfromEncryptionKey(@NonNull String encryptionKey) static StringbooleanisEncrypted(String value) protected boolean
-
Constructor Details
-
DefaultEncryption
public DefaultEncryption()
-
-
Method Details
-
generateNewEncryptionKey
-
fromEncryptionKey
-
encrypt
- Specified by:
encryptin interfaceEncryption
-
decrypt
- Specified by:
decryptin interfaceEncryption
-
isEncryptedWithKnownAlgorithm
-
isEncrypted
- Specified by:
isEncryptedin interfaceEncryption
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceEncryption
-
getEncryptionKey
- Specified by:
getEncryptionKeyin interfaceEncryption
-