Package com.goterl.lazysodium.interfaces
Interface Hash.Lazy
-
- All Known Implementing Classes:
LazySodium,LazySodiumJava
- Enclosing interface:
- Hash
public static interface Hash.Lazy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringcryptoHashSha256(java.lang.String message)java.lang.StringcryptoHashSha256Final(Hash.State256 state)booleancryptoHashSha256Init(Hash.State256 state)booleancryptoHashSha256Update(Hash.State256 state, java.lang.String messagePart)java.lang.StringcryptoHashSha512(java.lang.String message)java.lang.StringcryptoHashSha512Final(Hash.State512 state)booleancryptoHashSha512Init(Hash.State512 state)booleancryptoHashSha512Update(Hash.State512 state, java.lang.String messagePart)
-
-
-
Method Detail
-
cryptoHashSha256
java.lang.String cryptoHashSha256(java.lang.String message) throws SodiumException- Throws:
SodiumException
-
cryptoHashSha512
java.lang.String cryptoHashSha512(java.lang.String message) throws SodiumException- Throws:
SodiumException
-
cryptoHashSha256Init
boolean cryptoHashSha256Init(Hash.State256 state)
-
cryptoHashSha256Update
boolean cryptoHashSha256Update(Hash.State256 state, java.lang.String messagePart)
-
cryptoHashSha256Final
java.lang.String cryptoHashSha256Final(Hash.State256 state) throws SodiumException
- Throws:
SodiumException
-
cryptoHashSha512Init
boolean cryptoHashSha512Init(Hash.State512 state)
-
cryptoHashSha512Update
boolean cryptoHashSha512Update(Hash.State512 state, java.lang.String messagePart)
-
cryptoHashSha512Final
java.lang.String cryptoHashSha512Final(Hash.State512 state) throws SodiumException
- Throws:
SodiumException
-
-