jose_sha3 behaviour (JOSE v1.11.12)

View Source

Summary

Callbacks

sha3_224/1

-callback sha3_224(InputBytes :: binary()) -> OutputBytes :: binary().

sha3_256/1

-callback sha3_256(InputBytes :: binary()) -> OutputBytes :: binary().

sha3_384/1

-callback sha3_384(InputBytes :: binary()) -> OutputBytes :: binary().

sha3_512/1

-callback sha3_512(InputBytes :: binary()) -> OutputBytes :: binary().

shake128/2

-callback shake128(InputBytes :: binary(), OutputByteLen :: integer()) -> OutputBytes :: binary().

shake256/2

-callback shake256(InputBytes :: binary(), OutputByteLen :: integer()) -> OutputBytes :: binary().

Functions

sha3_224(InputBytes)

sha3_256(InputBytes)

sha3_384(InputBytes)

sha3_512(InputBytes)

shake128(InputBytes, OutputByteLen)

shake256(InputBytes, OutputByteLen)