Ed25519 primitives over raw bytes, from the JDK provider (Java 15+).
Keys cross this boundary as X.509 (public) and PKCS#8 (private) encodings, which is what KeyFactory consumes and what a keyring stores.
Ed25519 primitives over raw bytes, from the JDK provider (Java 15+). Keys cross this boundary as X.509 (public) and PKCS#8 (private) encodings, which is what KeyFactory consumes and what a keyring stores.
(generate-keypair)Fresh Ed25519 keypair as {:public base64 :private base64}.
Fresh Ed25519 keypair as {:public base64 :private base64}.
(sign private-b64 payload)Detached signature over payload, base64. private-b64 is PKCS#8.
Detached signature over `payload`, base64. `private-b64` is PKCS#8.
(verify public-b64 payload signature-b64)True when signature-b64 is a valid signature over payload for
public-b64 (X.509). Any malformed input is a false, never a throw.
True when `signature-b64` is a valid signature over `payload` for `public-b64` (X.509). Any malformed input is a false, never a throw.
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 |