Expand description
API authentication and cryptographic signing utilities.
Provides cryptographic functions for exchange API authentication:
- HMAC signing (SHA256/SHA512/SHA384/MD5)
- Hash functions (SHA256/SHA512/SHA384/SHA1/MD5/Keccak)
- RSA signing (PKCS1v15)
- EdDSA signing (Ed25519)
- JWT token generation
- Base64 encoding/decoding utilities
Enums§
- Digest
Format - Output encoding format for cryptographic digests.
- Hash
Algorithm - Supported cryptographic hash algorithms.
Functions§
- base64_
to_ base64url - Converts standard Base64 to Base64 URL format.
- base64url_
decode - Decodes a Base64 URL-encoded string.
- eddsa_
sign - Generates an EdDSA signature using Ed25519.
- hash
- Computes a cryptographic hash (one-way, keyless).
- hmac_
sign - Generates an HMAC signature for a message.
- jwt_
sign - Generates a JWT (JSON Web Token).