Module secure

Source
Expand description

Module for the functions that handle encryption/encoding and decryption/decoding.

Functionsยง

base64_decode
Decodes a Base64-encoded string to its original binary representation.
base64_encode
Encodes a binary string to a Base64-encoded ASCII string.
calculate_hash
Calculates the SHA-512 hash value for the given payload.
hex_decode
Decodes a hexadecimal-encoded string into its original string representation.
hex_encode
Encodes a string value into a hexadecimal representation.
keygen
Generates a random key with a length of 64 characters from the specified character set.