(gen-ed25519-kp)Generates a new Ed25519 KeyPair using the shared secure RNG.
Generates a new Ed25519 KeyPair using the shared secure RNG.
(pkcs8->private-key pkcs8-bytes)Reconstructs an Ed25519 PrivateKey from a PKCS#8 byte array.
Reconstructs an Ed25519 PrivateKey from a PKCS#8 byte array.
(private-key->pkcs8 sk)Returns the given Ed25519 PrivateKey encoded in PKCS#8 format. Standard JCA Ed25519 keys use PKCS#8 for their default encoding.
Returns the given Ed25519 PrivateKey encoded in PKCS#8 format. Standard JCA Ed25519 keys use PKCS#8 for their default encoding.
(private-key->raw-seed32 prv)Extracts the raw 32-byte seed from a PrivateKey using Bouncy Castle utilities.
Extracts the raw 32-byte seed from a PrivateKey using Bouncy Castle utilities.
(public-key->raw-pub32 pub)Extracts the raw 32-byte public key using Bouncy Castle utilities.
Extracts the raw 32-byte public key using Bouncy Castle utilities.
(public-key->spki pk)Returns the given Ed25519 PublicKey encoded in X.509 / SubjectPublicKeyInfo format.
Returns the given Ed25519 PublicKey encoded in X.509 / SubjectPublicKeyInfo format.
(raw-pub32->public-key raw32)Auditable reconstruction using BC SubjectPublicKeyInfoFactory.
Auditable reconstruction using BC SubjectPublicKeyInfoFactory.
(raw-seed32->private-key seed32)Auditable reconstruction using BC PrivateKeyInfoFactory.
Auditable reconstruction using BC PrivateKeyInfoFactory.
(sign ba-content signer-key-prv)Create a 64-byte Ed25519 signature.
Create a 64-byte Ed25519 signature.
(sign-with-context ctx data prv)Streams context and data into the signature object to avoid intermediate allocation.
Streams context and data into the signature object to avoid intermediate allocation.
(spki->public-key spki-bytes)Reconstructs an Ed25519 PublicKey from an SPKI byte array.
Reconstructs an Ed25519 PublicKey from an SPKI byte array.
(verify ba-content signer-key-pub ba-signature)Verifies an Ed25519 signature.
Verifies an Ed25519 signature.
(verify-with-context ctx data pub signature)Streams context and data into the verification object.
Streams context and data into the verification object.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |