# crypto

- crypto.base64.decode: Decode the standard Base64 string in --from to UTF-8 text - crypto.base64.encode: Standard Base64 (padded) of the UTF-8 bytes of --text - crypto.digest.create: The digest of --text with --algorithm sha256 (default) or sha512, as lowercase hex - crypto.password.hash: Hashes the password in --from for storage - crypto.password.verify: Check the password in --from against the stored --hash (argon2 or bcrypt, read from the hash) - crypto.random.generate: Cryptographically random bytes: --size (default 32B, at most 1KiB) as --encoding hex (default) or base64 - crypto.signature.sign: Signs --text with HMAC-SHA256 under an hmac credential - crypto.signature.verify: Checks an HMAC-SHA256 signature in constant time

# crypto

- [`crypto.base64.decode`](/nodes/crypto/crypto.base64.decode.md): Decode the standard Base64 string in --from to UTF-8 text
- [`crypto.base64.encode`](/nodes/crypto/crypto.base64.encode.md): Standard Base64 (padded) of the UTF-8 bytes of --text
- [`crypto.digest.create`](/nodes/crypto/crypto.digest.create.md): The digest of --text with --algorithm sha256 (default) or sha512, as lowercase hex
- [`crypto.password.hash`](/nodes/crypto/crypto.password.hash.md): Hashes the password in --from for storage
- [`crypto.password.verify`](/nodes/crypto/crypto.password.verify.md): Check the password in --from against the stored --hash (argon2 or bcrypt, read from the hash)
- [`crypto.random.generate`](/nodes/crypto/crypto.random.generate.md): Cryptographically random bytes: --size (default 32B, at most 1KiB) as --encoding hex (default) or base64
- [`crypto.signature.sign`](/nodes/crypto/crypto.signature.sign.md): Signs --text with HMAC-SHA256 under an hmac credential
- [`crypto.signature.verify`](/nodes/crypto/crypto.signature.verify.md): Checks an HMAC-SHA256 signature in constant time
