Skip to content

Cryptography

The Cryptography plugin is a collection of Cryptography functions:

Encrypt
To encrypt text or binary data.

Decrypt
To decrypt data encrypted by the Encrypt function.

GenerateHash
To compute a Base64-encoded hash for the input data using the specified hashing algorithm.

GenerateHMAC
To generate a MAC (message authentication code) using a cryptographic hash algorithm and a secret cryptographic key.

GenerateRandom
To generate a specified number of random bytes.

CreateJWT
To create a new JSON Web Token (JWT).

VerifyJWT
To verify a JSON Web Token (JWT).

Elliptic Curve Digital Signature Algorithm (ECDSA)

Section titled “Elliptic Curve Digital Signature Algorithm (ECDSA)”

CreateECDSAKeys
To create a new Elliptic Curve Digital Signature Algorithm (ECDSA) public/private key pair.

GenerateECDSASignature
To sign data using an Elliptic Curve Digital Signature Algorithm (ECDSA) private key.

VerifyECDSASignature
To verify a digital signature against the specified Elliptic Curve Digital Signature Algorithm (ECDSA) public key.


Cryptography License