-
public interface ShortHash.Lazy
-
-
Method Summary
Modifier and Type Method Description abstract KeycryptoShortHashKeygen()Generate a 64-bit key for short-input hashing. abstract StringcryptoShortHash(Array<byte> in, Key key)Hash a short message using a key. abstract StringcryptoShortHashStr(String in, Key key)Hash a short string using a key. abstract StringcryptoShortHashHex(String hexIn, Key key)Hash a short hexadecimal string using a key. -
-
Method Detail
-
cryptoShortHashKeygen
abstract Key cryptoShortHashKeygen()
Generate a 64-bit key for short-input hashing.
-
cryptoShortHash
abstract String cryptoShortHash(Array<byte> in, Key key)
Hash a short message using a key.
- Parameters:
in- The short message to hash.key- The key generated via cryptoShortHashKeygen.
-
cryptoShortHashStr
abstract String cryptoShortHashStr(String in, Key key)
Hash a short string using a key.
- Parameters:
in- The short message to hash.key- The key generated via cryptoShortHashKeygen.
-
cryptoShortHashHex
abstract String cryptoShortHashHex(String hexIn, Key key)
Hash a short hexadecimal string using a key.
- Parameters:
hexIn- The short message to hash, represented as hexadecimal string.key- The key generated via cryptoShortHashKeygen.
-
-
-
-