-
- All Implemented Interfaces:
-
com.goterl.lazysodium.interfaces.AEAD.Lazy,com.goterl.lazysodium.interfaces.AEAD.Native,com.goterl.lazysodium.interfaces.Auth.Lazy,com.goterl.lazysodium.interfaces.Auth.Native,com.goterl.lazysodium.interfaces.Base,com.goterl.lazysodium.interfaces.Box.Lazy,com.goterl.lazysodium.interfaces.Box.Native,com.goterl.lazysodium.interfaces.DiffieHellman.Lazy,com.goterl.lazysodium.interfaces.DiffieHellman.Native,com.goterl.lazysodium.interfaces.GenericHash.Lazy,com.goterl.lazysodium.interfaces.GenericHash.Native,com.goterl.lazysodium.interfaces.Hash.Lazy,com.goterl.lazysodium.interfaces.Hash.Native,com.goterl.lazysodium.interfaces.Helpers.Lazy,com.goterl.lazysodium.interfaces.Helpers.Native,com.goterl.lazysodium.interfaces.KeyDerivation.Lazy,com.goterl.lazysodium.interfaces.KeyDerivation.Native,com.goterl.lazysodium.interfaces.KeyExchange.Lazy,com.goterl.lazysodium.interfaces.KeyExchange.Native,com.goterl.lazysodium.interfaces.Padding.Lazy,com.goterl.lazysodium.interfaces.Padding.Native,com.goterl.lazysodium.interfaces.PwHash.Lazy,com.goterl.lazysodium.interfaces.PwHash.Native,com.goterl.lazysodium.interfaces.Random,com.goterl.lazysodium.interfaces.Ristretto255.Lazy,com.goterl.lazysodium.interfaces.Ristretto255.Native,com.goterl.lazysodium.interfaces.SecretBox.Lazy,com.goterl.lazysodium.interfaces.SecretBox.Native,com.goterl.lazysodium.interfaces.SecretStream.Lazy,com.goterl.lazysodium.interfaces.SecretStream.Native,com.goterl.lazysodium.interfaces.SecureMemory.Lazy,com.goterl.lazysodium.interfaces.SecureMemory.Native,com.goterl.lazysodium.interfaces.ShortHash.Lazy,com.goterl.lazysodium.interfaces.ShortHash.Native,com.goterl.lazysodium.interfaces.Sign.Lazy,com.goterl.lazysodium.interfaces.Sign.Native,com.goterl.lazysodium.interfaces.Stream.Lazy,com.goterl.lazysodium.interfaces.Stream.Native
public class LazySodiumAndroid extends LazySodium
-
-
Field Summary
Fields Modifier and Type Field Description private final SodiumAndroidsodium
-
Constructor Summary
Constructors Constructor Description LazySodiumAndroid(SodiumAndroid sodium)LazySodiumAndroid(SodiumAndroid sodium, Charset charset)LazySodiumAndroid(SodiumAndroid sodium, MessageEncoder messageEncoder)LazySodiumAndroid(SodiumAndroid sodium, Charset charset, MessageEncoder messageEncoder)
-
Method Summary
Modifier and Type Method Description SodiumAndroidgetSodium()-
Methods inherited from class com.goterl.lazysodium.LazySodium
bytes, convertKeyPairEd25519ToCurve25519, convertPublicKeyEd25519ToCurve25519, convertSecretKeyEd25519ToCurve25519, cryptoAeadAES256GCMDecrypt, cryptoAeadAES256GCMDecrypt, cryptoAeadAES256GCMDecryptDetached, cryptoAeadAES256GCMDecryptDetached, cryptoAeadAES256GCMEncrypt, cryptoAeadAES256GCMEncrypt, cryptoAeadAES256GCMEncryptDetached, cryptoAeadAES256GCMEncryptDetached, cryptoAeadAES256GCMIsAvailable, cryptoAeadAES256GCMKeygen, cryptoAeadChaCha20Poly1305Decrypt, cryptoAeadChaCha20Poly1305Decrypt, cryptoAeadChaCha20Poly1305DecryptDetached, cryptoAeadChaCha20Poly1305DecryptDetached, cryptoAeadChaCha20Poly1305Encrypt, cryptoAeadChaCha20Poly1305Encrypt, cryptoAeadChaCha20Poly1305EncryptDetached, cryptoAeadChaCha20Poly1305EncryptDetached, cryptoAeadChaCha20Poly1305IetfDecrypt, cryptoAeadChaCha20Poly1305IetfDecrypt, cryptoAeadChaCha20Poly1305IetfDecryptDetached, cryptoAeadChaCha20Poly1305IetfDecryptDetached, cryptoAeadChaCha20Poly1305IetfEncrypt, cryptoAeadChaCha20Poly1305IetfEncrypt, cryptoAeadChaCha20Poly1305IetfEncryptDetached, cryptoAeadChaCha20Poly1305IetfEncryptDetached, cryptoAeadChaCha20Poly1305IetfKeygen, cryptoAeadChaCha20Poly1305Keygen, cryptoAeadXChaCha20Poly1305IetfDecrypt, cryptoAeadXChaCha20Poly1305IetfDecrypt, cryptoAeadXChaCha20Poly1305IetfDecryptDetached, cryptoAeadXChaCha20Poly1305IetfDecryptDetached, cryptoAeadXChaCha20Poly1305IetfEncrypt, cryptoAeadXChaCha20Poly1305IetfEncrypt, cryptoAeadXChaCha20Poly1305IetfEncryptDetached, cryptoAeadXChaCha20Poly1305IetfEncryptDetached, cryptoAeadXChaCha20Poly1305IetfKeygen, cryptoAuth, cryptoAuth, cryptoAuthHMACSha, cryptoAuthHMACSha256, cryptoAuthHMACSha256Final, cryptoAuthHMACSha256Init, cryptoAuthHMACSha256Keygen, cryptoAuthHMACSha256Update, cryptoAuthHMACSha256Verify, cryptoAuthHMACSha512, cryptoAuthHMACSha512256, cryptoAuthHMACSha512256Final, cryptoAuthHMACSha512256Init, cryptoAuthHMACSha512256Keygen, cryptoAuthHMACSha512256Update, cryptoAuthHMACSha512256Verify, cryptoAuthHMACSha512Final, cryptoAuthHMACSha512Init, cryptoAuthHMACSha512Keygen, cryptoAuthHMACSha512Update, cryptoAuthHMACSha512Verify, cryptoAuthHMACShaFinal, cryptoAuthHMACShaFinal, cryptoAuthHMACShaFinal, cryptoAuthHMACShaInit, cryptoAuthHMACShaInit, cryptoAuthHMACShaInit, cryptoAuthHMACShaKeygen, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaVerify, cryptoAuthKeygen, cryptoAuthKeygen, cryptoAuthVerify, cryptoAuthVerify, cryptoBoxBeforeNm, cryptoBoxBeforeNm, cryptoBoxBeforeNm, cryptoBoxDetached, cryptoBoxDetachedAfterNm, cryptoBoxDetachedAfterNm, cryptoBoxEasy, cryptoBoxEasy, cryptoBoxEasyAfterNm, cryptoBoxEasyAfterNm, cryptoBoxKeypair, cryptoBoxKeypair, cryptoBoxOpenDetached, cryptoBoxOpenDetachedAfterNm, cryptoBoxOpenDetachedAfterNm, cryptoBoxOpenEasy, cryptoBoxOpenEasy, cryptoBoxOpenEasyAfterNm, cryptoBoxOpenEasyAfterNm, cryptoBoxSeal, cryptoBoxSealEasy, cryptoBoxSealOpen, cryptoBoxSealOpenEasy, cryptoBoxSeedKeypair, cryptoBoxSeedKeypair, cryptoCoreRistretto255Add, cryptoCoreRistretto255Add, cryptoCoreRistretto255FromHash, cryptoCoreRistretto255FromHash, cryptoCoreRistretto255FromHash, cryptoCoreRistretto255IsValidPoint, cryptoCoreRistretto255IsValidPoint, cryptoCoreRistretto255Random, cryptoCoreRistretto255Random, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarAdd, cryptoCoreRistretto255ScalarComplement, cryptoCoreRistretto255ScalarComplement, cryptoCoreRistretto255ScalarComplement, cryptoCoreRistretto255ScalarComplement, cryptoCoreRistretto255ScalarInvert, cryptoCoreRistretto255ScalarInvert, cryptoCoreRistretto255ScalarInvert, cryptoCoreRistretto255ScalarInvert, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarMul, cryptoCoreRistretto255ScalarNegate, cryptoCoreRistretto255ScalarNegate, cryptoCoreRistretto255ScalarNegate, cryptoCoreRistretto255ScalarNegate, cryptoCoreRistretto255ScalarRandom, cryptoCoreRistretto255ScalarRandom, cryptoCoreRistretto255ScalarReduce, cryptoCoreRistretto255ScalarReduce, cryptoCoreRistretto255ScalarReduce, cryptoCoreRistretto255ScalarReduce, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255ScalarSub, cryptoCoreRistretto255Sub, cryptoCoreRistretto255Sub, cryptoGenericHash, cryptoGenericHash, cryptoGenericHash, cryptoGenericHash, cryptoGenericHashFinal, cryptoGenericHashFinal, cryptoGenericHashInit, cryptoGenericHashInit, cryptoGenericHashInit, cryptoGenericHashKeygen, cryptoGenericHashKeygen, cryptoGenericHashKeygen, cryptoGenericHashUpdate, cryptoGenericHashUpdate, cryptoHashSha256, cryptoHashSha256, cryptoHashSha256Final, cryptoHashSha256Final, cryptoHashSha256Init, cryptoHashSha256Update, cryptoHashSha256Update, cryptoHashSha512, cryptoHashSha512, cryptoHashSha512Final, cryptoHashSha512Final, cryptoHashSha512Init, cryptoHashSha512Update, cryptoHashSha512Update, cryptoKdfDeriveFromKey, cryptoKdfDeriveFromKey, cryptoKdfKeygen, cryptoKdfKeygen, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxKeypair, cryptoKxKeypair, cryptoKxKeypair, cryptoKxSeedKeypair, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoPwHash, cryptoPwHash, cryptoPwHashStr, cryptoPwHashStr, cryptoPwHashStrNeedsRehash, cryptoPwHashStrRemoveNulls, cryptoPwHashStrVerify, cryptoPwHashStrVerify, cryptoPwHashString, cryptoPwHashStringNeedsRehash, cryptoPwHashStringVerify, cryptoScalarMult, cryptoScalarMult, cryptoScalarMultBase, cryptoScalarMultBase, cryptoScalarmultRistretto255, cryptoScalarmultRistretto255, cryptoScalarmultRistretto255, cryptoScalarmultRistretto255, cryptoScalarmultRistretto255Base, cryptoScalarmultRistretto255Base, cryptoScalarmultRistretto255Base, cryptoScalarmultRistretto255Base, cryptoSecretBoxDetached, cryptoSecretBoxDetached, cryptoSecretBoxEasy, cryptoSecretBoxEasy, cryptoSecretBoxKeygen, cryptoSecretBoxKeygen, cryptoSecretBoxOpenDetached, cryptoSecretBoxOpenDetached, cryptoSecretBoxOpenEasy, cryptoSecretBoxOpenEasy, cryptoSecretStreamInitPull, cryptoSecretStreamInitPull, cryptoSecretStreamInitPush, cryptoSecretStreamInitPush, cryptoSecretStreamKeygen, cryptoSecretStreamKeygen, cryptoSecretStreamPull, cryptoSecretStreamPull, cryptoSecretStreamPull, cryptoSecretStreamPush, cryptoSecretStreamPush, cryptoSecretStreamPush, cryptoSecretStreamPush, cryptoSecretStreamRekey, cryptoShortHash, cryptoShortHash, cryptoShortHashHex, cryptoShortHashKeygen, cryptoShortHashKeygen, cryptoShortHashStr, cryptoSign, cryptoSign, cryptoSign, cryptoSignDetached, cryptoSignDetached, cryptoSignEd25519SkToPk, cryptoSignEd25519SkToSeed, cryptoSignEd25519SkToSeed, cryptoSignFinalCreate, cryptoSignFinalVerify, cryptoSignInit, cryptoSignKeypair, cryptoSignKeypair, cryptoSignOpen, cryptoSignOpen, cryptoSignSecretKeyPair, cryptoSignSeedKeypair, cryptoSignSeedKeypair, cryptoSignUpdate, cryptoSignVerifyDetached, cryptoSignVerifyDetached, cryptoStream, cryptoStream, cryptoStreamChaCha20, cryptoStreamChaCha20Ietf, cryptoStreamChaCha20IetfKeygen, cryptoStreamChaCha20IetfXor, cryptoStreamChaCha20IetfXorIc, cryptoStreamChaCha20Keygen, cryptoStreamChaCha20Xor, cryptoStreamChaCha20XorIc, cryptoStreamChacha20IetfXorIc, cryptoStreamChacha20XorIc, cryptoStreamKeygen, cryptoStreamSalsa20, cryptoStreamSalsa20Keygen, cryptoStreamSalsa20Xor, cryptoStreamSalsa20XorIc, cryptoStreamXSalsa20, cryptoStreamXSalsa20Keygen, cryptoStreamXSalsa20Xor, cryptoStreamXSalsa20XorIc, cryptoStreamXor, cryptoStreamXorDecrypt, cryptoStreamXorIc, cryptoStreamXorIcDecrypt, decodeFromString, decrypt, decrypt, decryptDetached, decryptDetached, encodeToString, encrypt, encrypt, encryptDetached, encryptDetached, getSodium, keygen, main, nonce, randomBytesBuf, randomBytesBuf, randomBytesDeterministic, randomBytesDeterministic, randomBytesRandom, randomBytesUniform, removeNulls, res, sodiumAllocArray, sodiumBin2Hex, sodiumFree, sodiumHex2Bin, sodiumInit, sodiumMLock, sodiumMProtectNoAccess, sodiumMProtectReadOnly, sodiumMProtectReadWrite, sodiumMUnlock, sodiumMalloc, sodiumMemZero, sodiumPad, sodiumUnpad, str, str, successful, toBin, toBinary, toHex, toHexStr, wrongLen, wrongLen, wrongLen -
Methods inherited from class com.goterl.lazysodium.interfaces.Base
wrongLen, wrongLen, wrongLen -
Methods inherited from class com.goterl.lazysodium.interfaces.AEAD.Native
cryptoAeadAES256GCMDecrypt, cryptoAeadAES256GCMDecrypt, cryptoAeadAES256GCMDecryptDetached, cryptoAeadAES256GCMDecryptDetached, cryptoAeadAES256GCMEncrypt, cryptoAeadAES256GCMEncrypt, cryptoAeadAES256GCMEncryptDetached, cryptoAeadAES256GCMEncryptDetached, cryptoAeadChaCha20Poly1305Decrypt, cryptoAeadChaCha20Poly1305Decrypt, cryptoAeadChaCha20Poly1305DecryptDetached, cryptoAeadChaCha20Poly1305DecryptDetached, cryptoAeadChaCha20Poly1305Encrypt, cryptoAeadChaCha20Poly1305Encrypt, cryptoAeadChaCha20Poly1305EncryptDetached, cryptoAeadChaCha20Poly1305EncryptDetached, cryptoAeadChaCha20Poly1305IetfDecrypt, cryptoAeadChaCha20Poly1305IetfDecrypt, cryptoAeadChaCha20Poly1305IetfDecryptDetached, cryptoAeadChaCha20Poly1305IetfDecryptDetached, cryptoAeadChaCha20Poly1305IetfEncrypt, cryptoAeadChaCha20Poly1305IetfEncrypt, cryptoAeadChaCha20Poly1305IetfEncryptDetached, cryptoAeadChaCha20Poly1305IetfEncryptDetached, cryptoAeadXChaCha20Poly1305IetfDecrypt, cryptoAeadXChaCha20Poly1305IetfDecrypt, cryptoAeadXChaCha20Poly1305IetfDecryptDetached, cryptoAeadXChaCha20Poly1305IetfDecryptDetached, cryptoAeadXChaCha20Poly1305IetfEncrypt, cryptoAeadXChaCha20Poly1305IetfEncrypt, cryptoAeadXChaCha20Poly1305IetfEncryptDetached, cryptoAeadXChaCha20Poly1305IetfEncryptDetached, cryptoAeadXChaCha20Poly1305IetfKeygen -
Methods inherited from class com.goterl.lazysodium.interfaces.AEAD.Lazy
decrypt, decrypt, decryptDetached, decryptDetached, encrypt, encrypt, encryptDetached, encryptDetached, keygen -
Methods inherited from class com.goterl.lazysodium.interfaces.GenericHash.Native
cryptoGenericHash, cryptoGenericHash, cryptoGenericHashInit, cryptoGenericHashUpdate -
Methods inherited from class com.goterl.lazysodium.interfaces.GenericHash.Lazy
cryptoGenericHashInit -
Methods inherited from class com.goterl.lazysodium.interfaces.ShortHash.Lazy
cryptoShortHash -
Methods inherited from class com.goterl.lazysodium.interfaces.Auth.Native
cryptoAuthHMACSha256, cryptoAuthHMACSha256Final, cryptoAuthHMACSha256Init, cryptoAuthHMACSha256Update, cryptoAuthHMACSha256Verify, cryptoAuthHMACSha512, cryptoAuthHMACSha512256, cryptoAuthHMACSha512256Final, cryptoAuthHMACSha512256Init, cryptoAuthHMACSha512256Update, cryptoAuthHMACSha512256Verify, cryptoAuthHMACSha512Final, cryptoAuthHMACSha512Init, cryptoAuthHMACSha512Update, cryptoAuthHMACSha512Verify -
Methods inherited from class com.goterl.lazysodium.interfaces.Auth.Lazy
cryptoAuthHMACSha, cryptoAuthHMACShaFinal, cryptoAuthHMACShaFinal, cryptoAuthHMACShaFinal, cryptoAuthHMACShaInit, cryptoAuthHMACShaInit, cryptoAuthHMACShaInit, cryptoAuthHMACShaKeygen, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaUpdate, cryptoAuthHMACShaVerify -
Methods inherited from class com.goterl.lazysodium.interfaces.SecretStream.Native
cryptoSecretStreamInitPull, cryptoSecretStreamInitPush, cryptoSecretStreamPull, cryptoSecretStreamPull, cryptoSecretStreamPush, cryptoSecretStreamPush, cryptoSecretStreamPush, cryptoSecretStreamRekey -
Methods inherited from class com.goterl.lazysodium.interfaces.SecretStream.Lazy
cryptoSecretStreamPull, cryptoSecretStreamPush -
Methods inherited from class com.goterl.lazysodium.interfaces.Stream.Native
cryptoStreamChaCha20, cryptoStreamChaCha20Ietf, cryptoStreamChaCha20IetfXor, cryptoStreamChaCha20IetfXorIc, cryptoStreamChaCha20Xor, cryptoStreamChaCha20XorIc, cryptoStreamChacha20IetfXorIc, cryptoStreamChacha20XorIc, cryptoStreamSalsa20, cryptoStreamSalsa20Xor, cryptoStreamSalsa20XorIc, cryptoStreamXSalsa20, cryptoStreamXSalsa20Xor, cryptoStreamXSalsa20XorIc -
Methods inherited from class com.goterl.lazysodium.interfaces.Stream.Lazy
cryptoStream, cryptoStream, cryptoStreamKeygen, cryptoStreamXor, cryptoStreamXorDecrypt, cryptoStreamXorIc, cryptoStreamXorIcDecrypt -
Methods inherited from class com.goterl.lazysodium.interfaces.Padding.Native
sodiumUnpad -
Methods inherited from class com.goterl.lazysodium.interfaces.PwHash.Native
cryptoPwHash, cryptoPwHashStr -
Methods inherited from class com.goterl.lazysodium.interfaces.PwHash.Lazy
cryptoPwHash, cryptoPwHashStr, cryptoPwHashStrRemoveNulls, cryptoPwHashString -
Methods inherited from class com.goterl.lazysodium.interfaces.Hash.Native
cryptoHashSha256Update, cryptoHashSha512Update -
Methods inherited from class com.goterl.lazysodium.interfaces.Sign.Native
cryptoSign, cryptoSignDetached, cryptoSignEd25519SkToPk, cryptoSignOpen -
Methods inherited from class com.goterl.lazysodium.interfaces.Box.Native
cryptoBoxDetached, cryptoBoxDetachedAfterNm, cryptoBoxEasy, cryptoBoxEasyAfterNm, cryptoBoxOpenDetached, cryptoBoxOpenDetachedAfterNm, cryptoBoxOpenEasy, cryptoBoxOpenEasyAfterNm, cryptoBoxSealOpen -
Methods inherited from class com.goterl.lazysodium.interfaces.Box.Lazy
cryptoBoxEasyAfterNm, cryptoBoxOpenDetachedAfterNm, cryptoBoxOpenEasyAfterNm -
Methods inherited from class com.goterl.lazysodium.interfaces.SecretBox.Native
cryptoSecretBoxDetached, cryptoSecretBoxEasy, cryptoSecretBoxOpenDetached, cryptoSecretBoxOpenEasy -
Methods inherited from class com.goterl.lazysodium.interfaces.KeyExchange.Native
cryptoKxClientSessionKeys, cryptoKxServerSessionKeys -
Methods inherited from class com.goterl.lazysodium.interfaces.KeyExchange.Lazy
cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LazySodiumAndroid
LazySodiumAndroid(SodiumAndroid sodium)
-
LazySodiumAndroid
LazySodiumAndroid(SodiumAndroid sodium, Charset charset)
-
LazySodiumAndroid
LazySodiumAndroid(SodiumAndroid sodium, MessageEncoder messageEncoder)
-
LazySodiumAndroid
LazySodiumAndroid(SodiumAndroid sodium, Charset charset, MessageEncoder messageEncoder)
-
-
Method Detail
-
getSodium
SodiumAndroid getSodium()
-
-
-
-