Liking cljdoc? Tell your friends :D

hive-license.crypto

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.
raw docstring

generate-keypairclj

(generate-keypair)

Fresh Ed25519 keypair as {:public base64 :private base64}.

Fresh Ed25519 keypair as {:public base64 :private base64}.
raw docstring

signclj

(sign private-b64 payload)

Detached signature over payload, base64. private-b64 is PKCS#8.

Detached signature over `payload`, base64. `private-b64` is PKCS#8.
raw docstring

verifyclj

(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.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close