Functions§
- canonical_
json - Serializes a serde_json Value to canonical JSON with sorted keys. Matches Python’s json.dumps(sort_keys=True, separators=(‘,’,‘:’)).
- sign
- Signs a JSON payload with an Ed25519 private key. Returns standard base64-encoded signature (matches Python’s base64.b64encode()).
- verify
- Verifies a standard base64-encoded Ed25519 signature.