(generate-keypair)(generate-keypair strength)Generates a keypair and returns it in a hashmap as PEM strings. You can set the strength (length) of the key generated. Defaults to 1024.
Generates a keypair and returns it in a hashmap as PEM strings. You can set the strength (length) of the key generated. Defaults to 1024.
(key-to-string input-key)Turns a (public or private) key into a string.
Turns a (public or private) key into a string.
(raw-keys strength)Generates raw keys with the given strength.
Generates raw keys with the given strength.
(salmon-public-key input)Outputs a public key in the magic-public-key format used for Webfinger in current federated networks such as Mastodon and Pleroma.
Outputs a public key in the magic-public-key format used for Webfinger in current federated networks such as Mastodon and Pleroma.
(string-to-key input)Parses a PEM string into a (public or private) key, whichever it is.
Parses a PEM string into a (public or private) key, whichever it is.
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 |