Package com.goterl.lazysodium.interfaces
Interface AEAD.Lazy
- All Known Implementing Classes:
LazySodium,LazySodiumJava
- Enclosing interface:
- AEAD
public static interface AEAD.Lazy
-
Method Summary
Modifier and TypeMethodDescriptiondecrypt(String cipher, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version.decrypt(String cipher, String additionalData, byte[] nPub, Key k, AEAD.Method method) decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version.decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, byte[] nPub, Key k, AEAD.Method method) encrypt(String m, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version.encrypt(String m, String additionalData, byte[] nPub, Key k, AEAD.Method method) encryptDetached(String m, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version.encryptDetached(String m, String additionalData, byte[] nPub, Key k, AEAD.Method method) keygen(AEAD.Method method)
-
Method Details
-
keygen
-
encrypt
-
encrypt
@Deprecated(forRemoval=true, since="6.0.0") String encrypt(String m, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version. -
decrypt
String decrypt(String cipher, String additionalData, byte[] nPub, Key k, AEAD.Method method) throws AEADBadTagException - Throws:
AEADBadTagException
-
decrypt
@Deprecated(forRemoval=true, since="6.0.0") String decrypt(String cipher, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) throws AEADBadTagException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
AEADBadTagException
-
encryptDetached
DetachedEncrypt encryptDetached(String m, String additionalData, byte[] nPub, Key k, AEAD.Method method) -
encryptDetached
@Deprecated(forRemoval=true, since="6.0.0") DetachedEncrypt encryptDetached(String m, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) Deprecated, for removal: This API element is subject to removal in a future version. -
decryptDetached
DetachedDecrypt decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, byte[] nPub, Key k, AEAD.Method method) throws AEADBadTagException - Throws:
AEADBadTagException
-
decryptDetached
@Deprecated(forRemoval=true, since="6.0.0") DetachedDecrypt decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, byte[] nSec, byte[] nPub, Key k, AEAD.Method method) throws AEADBadTagException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
AEADBadTagException
-