Class DrasylLazySodiumJava

  • 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.Scrypt.Lazy, com.goterl.lazysodium.interfaces.Scrypt.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, com.goterl.lazysodium.interfaces.StreamJava.Lazy, com.goterl.lazysodium.interfaces.StreamJava.Native

    public class DrasylLazySodiumJava
    extends com.goterl.lazysodium.LazySodium
    implements com.goterl.lazysodium.interfaces.Scrypt.Native, com.goterl.lazysodium.interfaces.Scrypt.Lazy, com.goterl.lazysodium.interfaces.StreamJava.Native, com.goterl.lazysodium.interfaces.StreamJava.Lazy
    • Field Summary

      • Fields inherited from class com.goterl.lazysodium.LazySodium

        charset, messageEncoder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean cryptoPwHashScryptSalsa208Sha256​(byte[] out, long outLen, byte[] password, long passwordLen, byte[] salt, long opsLimit, long memLimit)  
      String cryptoPwHashScryptSalsa208Sha256​(String password, long hashLen, byte[] salt, long opsLimit, long memLimit)  
      boolean cryptoPwHashScryptSalsa208Sha256Ll​(byte[] password, int passwordLen, byte[] salt, int saltLen, long N, long r, long p, byte[] buf, int bufLen)  
      boolean cryptoPwHashScryptSalsa208Sha256Str​(byte[] out, byte[] password, long passwordLen, long opsLimit, long memLimit)  
      String cryptoPwHashScryptSalsa208Sha256Str​(String password, long opsLimit, long memLimit)  
      boolean cryptoPwHashScryptSalsa208Sha256StrNeedsRehash​(byte[] hash, long opsLimit, long memLimit)  
      boolean cryptoPwHashScryptSalsa208Sha256StrVerify​(byte[] str, byte[] password, long passwordLen)  
      boolean cryptoPwHashScryptSalsa208Sha256StrVerify​(String hash, String password)  
      byte[] cryptoStream​(byte[] nonce, com.goterl.lazysodium.utils.Key key, com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      com.goterl.lazysodium.utils.Key cryptoStreamKeygen​(com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      boolean cryptoStreamSalsa2012​(byte[] c, long cLen, byte[] nonce, byte[] key)  
      void cryptoStreamSalsa2012Keygen​(byte[] key)  
      boolean cryptoStreamSalsa2012Xor​(byte[] cipher, byte[] message, long messageLen, byte[] nonce, byte[] key)  
      boolean cryptoStreamSalsa208​(byte[] c, long cLen, byte[] nonce, byte[] key)  
      void cryptoStreamSalsa208Keygen​(byte[] key)  
      boolean cryptoStreamSalsa208Xor​(byte[] cipher, byte[] message, long messageLen, byte[] nonce, byte[] key)  
      boolean cryptoStreamXChaCha20​(byte[] c, long cLen, byte[] nonce, byte[] key)  
      boolean cryptoStreamXChaCha20Ic​(byte[] cipher, byte[] message, long messageLen, byte[] nonce, long ic, byte[] key)  
      void cryptoStreamXChaCha20Keygen​(byte[] key)  
      boolean cryptoStreamXChaCha20Xor​(byte[] cipher, byte[] message, long messageLen, byte[] nonce, byte[] key)  
      String cryptoStreamXor​(String message, byte[] nonce, com.goterl.lazysodium.utils.Key key, com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      String cryptoStreamXorDecrypt​(String cipher, byte[] nonce, com.goterl.lazysodium.utils.Key key, com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      String cryptoStreamXorIc​(String message, byte[] nonce, long ic, com.goterl.lazysodium.utils.Key key, com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      String cryptoStreamXorIcDecrypt​(String cipher, byte[] nonce, long ic, com.goterl.lazysodium.utils.Key key, com.goterl.lazysodium.interfaces.StreamJava.Method method)  
      DrasylSodiumJava getSodium()  
      • Methods inherited from class com.goterl.lazysodium.LazySodium

        bytes, convertKeyPairEd25519ToCurve25519, convertPublicKeyEd25519ToCurve25519, convertSecretKeyEd25519ToCurve25519, cryptoAeadAES256GCMDecrypt, cryptoAeadAES256GCMDecryptDetached, cryptoAeadAES256GCMEncrypt, cryptoAeadAES256GCMEncryptDetached, cryptoAeadAES256GCMIsAvailable, cryptoAeadAES256GCMKeygen, cryptoAeadChaCha20Poly1305Decrypt, cryptoAeadChaCha20Poly1305DecryptDetached, cryptoAeadChaCha20Poly1305Encrypt, cryptoAeadChaCha20Poly1305EncryptDetached, cryptoAeadChaCha20Poly1305IetfDecrypt, cryptoAeadChaCha20Poly1305IetfDecryptDetached, cryptoAeadChaCha20Poly1305IetfEncrypt, cryptoAeadChaCha20Poly1305IetfEncryptDetached, cryptoAeadChaCha20Poly1305IetfKeygen, cryptoAeadChaCha20Poly1305Keygen, cryptoAeadXChaCha20Poly1305IetfDecrypt, cryptoAeadXChaCha20Poly1305IetfDecryptDetached, cryptoAeadXChaCha20Poly1305IetfEncrypt, 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, cryptoGenericHash, cryptoGenericHash, cryptoGenericHash, cryptoGenericHash, cryptoGenericHashFinal, cryptoGenericHashFinal, cryptoGenericHashInit, cryptoGenericHashInit, cryptoGenericHashInit, cryptoGenericHashKeygen, cryptoGenericHashKeygen, cryptoGenericHashKeygen, cryptoGenericHashStateBytes, cryptoGenericHashUpdate, cryptoGenericHashUpdate, cryptoHashSha256, cryptoHashSha256, cryptoHashSha256Final, cryptoHashSha256Final, cryptoHashSha256Init, cryptoHashSha256Update, cryptoHashSha256Update, cryptoHashSha512, cryptoHashSha512, cryptoHashSha512Final, cryptoHashSha512Final, cryptoHashSha512Init, cryptoHashSha512Update, cryptoHashSha512Update, cryptoKdfDeriveFromKey, cryptoKdfDeriveFromKey, cryptoKdfKeygen, cryptoKdfKeygen, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxClientSessionKeys, cryptoKxKeypair, cryptoKxKeypair, cryptoKxKeypair, cryptoKxSeedKeypair, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoKxServerSessionKeys, cryptoPwHash, cryptoPwHash, cryptoPwHashStr, cryptoPwHashStr, cryptoPwHashStrNeedsRehash, cryptoPwHashStrRemoveNulls, cryptoPwHashStrVerify, cryptoPwHashStrVerify, cryptoScalarMult, cryptoScalarMult, cryptoScalarMultBase, cryptoScalarMultBase, 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, cryptoShortHashKeygen, cryptoShortHashKeygen, cryptoSign, cryptoSign, cryptoSign, cryptoSignDetached, cryptoSignDetached, cryptoSignEd25519SkToPk, cryptoSignEd25519SkToSeed, cryptoSignFinalCreate, cryptoSignFinalVerify, cryptoSignInit, cryptoSignKeypair, cryptoSignKeypair, cryptoSignOpen, cryptoSignOpen, cryptoSignSecretKeyPair, cryptoSignSeedKeypair, cryptoSignSeedKeypair, cryptoSignUpdate, cryptoSignVerifyDetached, cryptoSignVerifyDetached, cryptoStream, cryptoStreamChaCha20, cryptoStreamChaCha20Ietf, cryptoStreamChaCha20IetfKeygen, cryptoStreamChaCha20IetfXor, cryptoStreamChacha20IetfXorIc, cryptoStreamChaCha20Keygen, cryptoStreamChaCha20Xor, cryptoStreamChacha20XorIc, cryptoStreamDefaultXorIc, cryptoStreamKeygen, cryptoStreamSalsa20, cryptoStreamSalsa20Keygen, cryptoStreamSalsa20Xor, cryptoStreamSalsa20XorIc, cryptoStreamXor, cryptoStreamXorDecrypt, cryptoStreamXorIc, cryptoStreamXorIcDecrypt, cryptoStreamXSalsa20, cryptoStreamXSalsa20Keygen, cryptoStreamXSalsa20Xor, decrypt, decrypt, decryptDetached, encrypt, encrypt, encryptDetached, keygen, longToInt, main, nonce, randomBytesBuf, randomBytesDeterministic, randomBytesRandom, randomBytesUniform, removeNulls, res, sodiumAllocArray, sodiumBin2Hex, sodiumFree, sodiumHex2Bin, sodiumInit, sodiumMalloc, sodiumMemZero, sodiumMLock, sodiumMProtectNoAccess, sodiumMProtectReadOnly, sodiumMProtectReadWrite, sodiumMUnlock, sodiumPad, sodiumUnpad, str, str, successful, toBin, toBinary, toHex, toHexStr, wrongLen, wrongLen, wrongLen
      • Methods inherited from interface com.goterl.lazysodium.interfaces.Stream.Lazy

        cryptoStream, cryptoStreamKeygen, cryptoStreamXor, cryptoStreamXorDecrypt, cryptoStreamXorIc, cryptoStreamXorIcDecrypt
      • Methods inherited from interface com.goterl.lazysodium.interfaces.Stream.Native

        cryptoStreamChaCha20, cryptoStreamChaCha20Ietf, cryptoStreamChaCha20IetfKeygen, cryptoStreamChaCha20IetfXor, cryptoStreamChacha20IetfXorIc, cryptoStreamChaCha20Keygen, cryptoStreamChaCha20Xor, cryptoStreamChacha20XorIc, cryptoStreamSalsa20, cryptoStreamSalsa20Keygen, cryptoStreamSalsa20Xor, cryptoStreamSalsa20XorIc, cryptoStreamXSalsa20, cryptoStreamXSalsa20Keygen, cryptoStreamXSalsa20Xor
    • Constructor Detail

      • DrasylLazySodiumJava

        public DrasylLazySodiumJava​(DrasylSodiumJava sodium)
      • DrasylLazySodiumJava

        public DrasylLazySodiumJava​(DrasylSodiumJava sodium,
                                    com.goterl.lazysodium.interfaces.MessageEncoder messageEncoder)
      • DrasylLazySodiumJava

        public DrasylLazySodiumJava​(DrasylSodiumJava sodium,
                                    Charset charset,
                                    com.goterl.lazysodium.interfaces.MessageEncoder messageEncoder)
    • Method Detail

      • cryptoPwHashScryptSalsa208Sha256

        public boolean cryptoPwHashScryptSalsa208Sha256​(byte[] out,
                                                        long outLen,
                                                        byte[] password,
                                                        long passwordLen,
                                                        byte[] salt,
                                                        long opsLimit,
                                                        long memLimit)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256 in interface com.goterl.lazysodium.interfaces.Scrypt.Native
      • cryptoPwHashScryptSalsa208Sha256Str

        public boolean cryptoPwHashScryptSalsa208Sha256Str​(byte[] out,
                                                           byte[] password,
                                                           long passwordLen,
                                                           long opsLimit,
                                                           long memLimit)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256Str in interface com.goterl.lazysodium.interfaces.Scrypt.Native
      • cryptoPwHashScryptSalsa208Sha256StrVerify

        public boolean cryptoPwHashScryptSalsa208Sha256StrVerify​(byte[] str,
                                                                 byte[] password,
                                                                 long passwordLen)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256StrVerify in interface com.goterl.lazysodium.interfaces.Scrypt.Native
      • cryptoPwHashScryptSalsa208Sha256Ll

        public boolean cryptoPwHashScryptSalsa208Sha256Ll​(byte[] password,
                                                          int passwordLen,
                                                          byte[] salt,
                                                          int saltLen,
                                                          long N,
                                                          long r,
                                                          long p,
                                                          byte[] buf,
                                                          int bufLen)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256Ll in interface com.goterl.lazysodium.interfaces.Scrypt.Native
      • cryptoPwHashScryptSalsa208Sha256StrNeedsRehash

        public boolean cryptoPwHashScryptSalsa208Sha256StrNeedsRehash​(byte[] hash,
                                                                      long opsLimit,
                                                                      long memLimit)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256StrNeedsRehash in interface com.goterl.lazysodium.interfaces.Scrypt.Native
      • cryptoPwHashScryptSalsa208Sha256

        public String cryptoPwHashScryptSalsa208Sha256​(String password,
                                                       long hashLen,
                                                       byte[] salt,
                                                       long opsLimit,
                                                       long memLimit)
                                                throws com.goterl.lazysodium.exceptions.SodiumException
        Specified by:
        cryptoPwHashScryptSalsa208Sha256 in interface com.goterl.lazysodium.interfaces.Scrypt.Lazy
        Throws:
        com.goterl.lazysodium.exceptions.SodiumException
      • cryptoPwHashScryptSalsa208Sha256Str

        public String cryptoPwHashScryptSalsa208Sha256Str​(String password,
                                                          long opsLimit,
                                                          long memLimit)
                                                   throws com.goterl.lazysodium.exceptions.SodiumException
        Specified by:
        cryptoPwHashScryptSalsa208Sha256Str in interface com.goterl.lazysodium.interfaces.Scrypt.Lazy
        Throws:
        com.goterl.lazysodium.exceptions.SodiumException
      • cryptoPwHashScryptSalsa208Sha256StrVerify

        public boolean cryptoPwHashScryptSalsa208Sha256StrVerify​(String hash,
                                                                 String password)
        Specified by:
        cryptoPwHashScryptSalsa208Sha256StrVerify in interface com.goterl.lazysodium.interfaces.Scrypt.Lazy
      • cryptoStreamSalsa2012Keygen

        public void cryptoStreamSalsa2012Keygen​(byte[] key)
        Specified by:
        cryptoStreamSalsa2012Keygen in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamSalsa2012

        public boolean cryptoStreamSalsa2012​(byte[] c,
                                             long cLen,
                                             byte[] nonce,
                                             byte[] key)
        Specified by:
        cryptoStreamSalsa2012 in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamSalsa2012Xor

        public boolean cryptoStreamSalsa2012Xor​(byte[] cipher,
                                                byte[] message,
                                                long messageLen,
                                                byte[] nonce,
                                                byte[] key)
        Specified by:
        cryptoStreamSalsa2012Xor in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamSalsa208Keygen

        public void cryptoStreamSalsa208Keygen​(byte[] key)
        Specified by:
        cryptoStreamSalsa208Keygen in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamSalsa208

        public boolean cryptoStreamSalsa208​(byte[] c,
                                            long cLen,
                                            byte[] nonce,
                                            byte[] key)
        Specified by:
        cryptoStreamSalsa208 in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamSalsa208Xor

        public boolean cryptoStreamSalsa208Xor​(byte[] cipher,
                                               byte[] message,
                                               long messageLen,
                                               byte[] nonce,
                                               byte[] key)
        Specified by:
        cryptoStreamSalsa208Xor in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamXChaCha20Keygen

        public void cryptoStreamXChaCha20Keygen​(byte[] key)
        Specified by:
        cryptoStreamXChaCha20Keygen in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamXChaCha20

        public boolean cryptoStreamXChaCha20​(byte[] c,
                                             long cLen,
                                             byte[] nonce,
                                             byte[] key)
        Specified by:
        cryptoStreamXChaCha20 in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamXChaCha20Xor

        public boolean cryptoStreamXChaCha20Xor​(byte[] cipher,
                                                byte[] message,
                                                long messageLen,
                                                byte[] nonce,
                                                byte[] key)
        Specified by:
        cryptoStreamXChaCha20Xor in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamXChaCha20Ic

        public boolean cryptoStreamXChaCha20Ic​(byte[] cipher,
                                               byte[] message,
                                               long messageLen,
                                               byte[] nonce,
                                               long ic,
                                               byte[] key)
        Specified by:
        cryptoStreamXChaCha20Ic in interface com.goterl.lazysodium.interfaces.StreamJava.Native
      • cryptoStreamKeygen

        public com.goterl.lazysodium.utils.Key cryptoStreamKeygen​(com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStreamKeygen in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • cryptoStream

        public byte[] cryptoStream​(byte[] nonce,
                                   com.goterl.lazysodium.utils.Key key,
                                   com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStream in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • cryptoStreamXor

        public String cryptoStreamXor​(String message,
                                      byte[] nonce,
                                      com.goterl.lazysodium.utils.Key key,
                                      com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStreamXor in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • cryptoStreamXorDecrypt

        public String cryptoStreamXorDecrypt​(String cipher,
                                             byte[] nonce,
                                             com.goterl.lazysodium.utils.Key key,
                                             com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStreamXorDecrypt in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • cryptoStreamXorIc

        public String cryptoStreamXorIc​(String message,
                                        byte[] nonce,
                                        long ic,
                                        com.goterl.lazysodium.utils.Key key,
                                        com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStreamXorIc in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • cryptoStreamXorIcDecrypt

        public String cryptoStreamXorIcDecrypt​(String cipher,
                                               byte[] nonce,
                                               long ic,
                                               com.goterl.lazysodium.utils.Key key,
                                               com.goterl.lazysodium.interfaces.StreamJava.Method method)
        Specified by:
        cryptoStreamXorIcDecrypt in interface com.goterl.lazysodium.interfaces.StreamJava.Lazy
      • getSodium

        public DrasylSodiumJava getSodium()
        Specified by:
        getSodium in class com.goterl.lazysodium.LazySodium