hash

Functions for hashing data using a variety of algorithms.

Summary
hashFunctions for hashing data using a variety of algorithms.
Functions
crc32Return the CRC32 of given Bytes.
md5Return the MD5 hash of given Bytes as a hex string.
md5RawReturn the MD5 hash of given Bytes as a raw Bytes.
sha1Return the SHA1 hash of given Bytes as a hex string.
sha1RawReturn the SHA1 hash of given Bytes as a raw Bytes.
sha256Return the SHA256 hash of given Bytes as a hex string.
sha256RawReturn the SHA256 hash of given Bytes as a raw Bytes.
sha512Return the SHA512 hash of given Bytes as a hex string.
sha512RawReturn the SHA512 hash of given Bytes as a raw Bytes.
sha3Return the SHA3 hash of given Bytes as a hex string.
sha3RawReturn the SHA3 hash of given Bytes as a raw Bytes.

Functions

crc32

DECLARE EXTENSION FUNCTION crc32(data: Bytes): Number

Return the CRC32 of given Bytes.

md5

DECLARE EXTENSION FUNCTION md5(data: Bytes): String

Return the MD5 hash of given Bytes as a hex string.

md5Raw

DECLARE EXTENSION FUNCTION md5Raw(data: Bytes): Bytes

Return the MD5 hash of given Bytes as a raw Bytes.

sha1

DECLARE EXTENSION FUNCTION sha1(data: Bytes): String

Return the SHA1 hash of given Bytes as a hex string.

sha1Raw

DECLARE EXTENSION FUNCTION sha1Raw(data: Bytes): Bytes

Return the SHA1 hash of given Bytes as a raw Bytes.

sha256

DECLARE EXTENSION FUNCTION sha256(data: Bytes): String

Return the SHA256 hash of given Bytes as a hex string.

sha256Raw

DECLARE EXTENSION FUNCTION sha256Raw(data: Bytes): Bytes

Return the SHA256 hash of given Bytes as a raw Bytes.

sha512

DECLARE EXTENSION FUNCTION sha512(data: Bytes): String

Return the SHA512 hash of given Bytes as a hex string.

sha512Raw

DECLARE EXTENSION FUNCTION sha512Raw(data: Bytes): Bytes

Return the SHA512 hash of given Bytes as a raw Bytes.

sha3

DECLARE EXTENSION FUNCTION sha3(data: Bytes): String

Return the SHA3 hash of given Bytes as a hex string.

sha3Raw

DECLARE EXTENSION FUNCTION sha3Raw(data: Bytes): Bytes

Return the SHA3 hash of given Bytes as a raw Bytes.

DECLARE EXTENSION FUNCTION crc32(data: Bytes): Number
Return the CRC32 of given Bytes.
Bytes.
DECLARE EXTENSION FUNCTION md5(data: Bytes): String
Return the MD5 hash of given Bytes as a hex string.
DECLARE EXTENSION FUNCTION md5Raw(data: Bytes): Bytes
Return the MD5 hash of given Bytes as a raw Bytes.
DECLARE EXTENSION FUNCTION sha1(data: Bytes): String
Return the SHA1 hash of given Bytes as a hex string.
DECLARE EXTENSION FUNCTION sha1Raw(data: Bytes): Bytes
Return the SHA1 hash of given Bytes as a raw Bytes.
DECLARE EXTENSION FUNCTION sha256(data: Bytes): String
Return the SHA256 hash of given Bytes as a hex string.
DECLARE EXTENSION FUNCTION sha256Raw(data: Bytes): Bytes
Return the SHA256 hash of given Bytes as a raw Bytes.
DECLARE EXTENSION FUNCTION sha512(data: Bytes): String
Return the SHA512 hash of given Bytes as a hex string.
DECLARE EXTENSION FUNCTION sha512Raw(data: Bytes): Bytes
Return the SHA512 hash of given Bytes as a raw Bytes.
DECLARE EXTENSION FUNCTION sha3(data: Bytes): String
Return the SHA3 hash of given Bytes as a hex string.
DECLARE EXTENSION FUNCTION sha3Raw(data: Bytes): Bytes
Return the SHA3 hash of given Bytes as a raw Bytes.
Close