Package dev.frostlake.functions.scalar.hash


package dev.frostlake.functions.scalar.hash
  • Classes
    Class
    Description
    The bytes HASH and HASH_AGG hash for one argument: a TYPE-CLASS tag followed by a canonical rendering of the value.
    HASH(expr[, …]) — a deterministic signed 64-bit hash (FNV-1a) over the canonical, type-tagged encoding of its arguments.
    MD5(msg) — the lowercase hex MD5 digest of the message bytes.
    MD5_BINARY(msg) — the 16-byte MD5 digest as BINARY.
     
     
     
    SHA1(msg) — the lowercase hex SHA-1 digest of the message bytes.
    SHA1_BINARY(msg) — the 20-byte SHA-1 digest as BINARY.
     
    SHA2(msg [, bits]) — the lowercase hex SHA-2 digest (256 by default) of the message bytes.
    SHA2_BINARY(msg [, bits]) — the SHA-2 digest (256 default; 224/384/512) as BINARY.