Liking cljdoc? Tell your friends :D

csele.keys


generate-keypairclj

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

key-to-stringclj

(key-to-string input-key)

Turns a (public or private) key into a string.

Turns a (public or private) key into a string.
sourceraw docstring

raw-keysclj

(raw-keys strength)

Generates raw keys with the given strength.

Generates raw keys with the given strength.
sourceraw docstring

salmon-public-keyclj

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

string-to-keyclj

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

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close