Class ChaCha20Poly1305Encryption
java.lang.Object
io.fluxcapacitor.common.encryption.ChaCha20Poly1305Encryption
- All Implemented Interfaces:
Encryption
Adopted from
https://github.com/java-crypto/cross_platform_crypto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALGORITHM
- See Also:
-
-
Constructor Details
-
ChaCha20Poly1305Encryption
public ChaCha20Poly1305Encryption() -
ChaCha20Poly1305Encryption
-
-
Method Details
-
encrypt
- Specified by:
encryptin interfaceEncryption
-
decrypt
- Specified by:
decryptin interfaceEncryption
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceEncryption
-
getEncryptionKey
- Specified by:
getEncryptionKeyin interfaceEncryption
-
isEncrypted
- Specified by:
isEncryptedin interfaceEncryption
-