Encryption Functions
8 functions for hashing, encrypting, and signing data.
Hashing
| Function | Description | Inputs |
|---|---|---|
| SHA256 | SHA-256 hash | data |
| SHA1 | SHA-1 hash | data |
| Hash | Hash with algorithm choice | data, algorithm (md5/sha1/sha256/sha384/sha512), digest (hex/base64/binary) |
| HMAC | HMAC with key | data, key, algorithm, digest |
Encryption
| Function | Description | Inputs |
|---|---|---|
| AES | AES encrypt | algorithm (aes-128/256-cbc/gcm/etc.), key, data |
| Encrypt | Encrypt with algorithm | algorithm (aes/des variants), key, data |
| Decrypt | Decrypt data | algorithm, key, data |
AES Algorithms
aes-128-cbc, aes-128-cfb1, aes-128-ctr, aes-128-ecb, aes-128-gcm, aes-256-cbc, aes-256-cfb1, aes-256-ctr, aes-256-ecb, aes-256-gcm
Example: Hash and HMAC
Hash and HMAC
SHA256 hash a message, then create HMAC signature
Encryption
SHA256
data
message
output
Encryption
HMAC
algorithm
sha256
key
{{vault.SECRET}}
data
output
digest
hex
output
Signing
| Function | Description | Inputs |
|---|---|---|
| Sign | Sign with private key | algorithm (md5-sha512), data, digest (hex/base64/binary), key, passphrase |
All functions output a single output field (string).