# Functions
Decrypt decrypts encrypted text with key (must be valid 32 chars aes key).
Encrypt encrypts data with key (must be valid 32 char aes key).
Equal compares two hash strings for equality without leaking timing information.
HS256 creates a HMAC hash with sha256 digest algorithm.
HS512 creates a HMAC hash with sha512 digest algorithm.
MD5 creates md5 hash from the provided plain text.
NewJWT generates and returns new HS256 signed JWT.
Deprecated: Consider replacing with NewJWT().
ParseJWT verifies and parses JWT and returns its claims.
ParseUnverifiedJWT parses JWT and returns its claims but DOES NOT verify the signature.
PseudorandomString generates a pseudorandom string with the specified length.
PseudorandomStringWithAlphabet generates a pseudorandom string with the specified length and characters set.
RandomSnowflakeId generates a snowflake id.
RandomString generates a cryptographically random string with the specified length.
RandomStringWithAlphabet generates a cryptographically random string with the specified length and characters set.
S256Challenge creates base64 encoded sha256 challenge string derived from code.
SHA256 creates sha256 hash as defined in FIPS 180-4 from the provided text.
SHA512 creates sha512 hash as defined in FIPS 180-4 from the provided text.