-
public interface ShortHash.Native
-
-
Method Summary
Modifier and Type Method Description abstract booleancryptoShortHash(Array<byte> out, Array<byte> in, int inLen, Array<byte> key)Short-input hash some text. abstract voidcryptoShortHashKeygen(Array<byte> k)Output a 64-bit key. -
-
Method Detail
-
cryptoShortHash
abstract boolean cryptoShortHash(Array<byte> out, Array<byte> in, int inLen, Array<byte> key)
Short-input hash some text.
- Parameters:
out- The hashed text of size SIPHASH24_BYTES orSIPHASHX24_BYTES depending on{@code in}size.in- The short-input text to hash of size BYTES or of size SIPHASHX24_BYTES.inLen- The length of the short-input.key- The key generated via cryptoShortHashKeygen.
-
cryptoShortHashKeygen
abstract void cryptoShortHashKeygen(Array<byte> k)
Output a 64-bit key.
- Parameters:
k- The key of size SIPHASH24_KEYBYTES.
-
-
-
-