-
public interface AEAD.Lazy
-
-
Method Summary
Modifier and Type Method Description abstract Keykeygen(AEAD.Method method)abstract Stringencrypt(String m, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)abstract Stringencrypt(String m, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)abstract Stringdecrypt(String cipher, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)abstract Stringdecrypt(String cipher, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)abstract DetachedEncryptencryptDetached(String m, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)abstract DetachedEncryptencryptDetached(String m, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)abstract DetachedDecryptdecryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)abstract DetachedDecryptdecryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)-
-
Method Detail
-
keygen
abstract Key keygen(AEAD.Method method)
-
encrypt
abstract String encrypt(String m, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)
-
encrypt
@Deprecated(forRemoval = true, since = 6.0.0) abstract String encrypt(String m, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)
-
decrypt
abstract String decrypt(String cipher, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)
-
decrypt
@Deprecated(forRemoval = true, since = 6.0.0) abstract String decrypt(String cipher, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)
-
encryptDetached
abstract DetachedEncrypt encryptDetached(String m, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)
-
encryptDetached
@Deprecated(forRemoval = true, since = 6.0.0) abstract DetachedEncrypt encryptDetached(String m, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)
-
decryptDetached
abstract DetachedDecrypt decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, Array<byte> nPub, Key k, AEAD.Method method)
-
decryptDetached
@Deprecated(forRemoval = true, since = 6.0.0) abstract DetachedDecrypt decryptDetached(DetachedEncrypt detachedEncrypt, String additionalData, Array<byte> nSec, Array<byte> nPub, Key k, AEAD.Method method)
-
-
-
-