Liking cljdoc? Tell your friends :D

clj-ssh-keygen.core


generate-keyclj

(generate-key & [kl])

Generate a PKCS #1 key of a given kl length (in bits, default to 2048 if not specified). The key is returned as a map meant to be used with public-key, openssh-public-key or private-key functions. See (https://www.di-mgt.com.au/rsa_alg.html#keygen) for algorithm insights.

Generate a PKCS #1 key of a given `kl` length (in bits, default to 2048 if not specified).
The key is returned as a map meant to be used with [[public-key]], [[openssh-public-key]] or [[private-key]] functions.
See (https://www.di-mgt.com.au/rsa_alg.html#keygen) for algorithm insights.
sourceraw docstring

openssh-public-keyclj

(openssh-public-key key)

Return an OpenSSH public key representation of a key.

Return an OpenSSH public key representation of a `key`.
sourceraw docstring

private-keyclj

(private-key key)

Return a RSA private key representation of a key.

Return a RSA private key representation of a `key`.
sourceraw docstring

public-keyclj

(public-key key)

Return a RSA public key representation of a key.

Return a RSA public key representation of a `key`.
sourceraw docstring

write-openssh-public-key!clj

(write-openssh-public-key! k f)

Get the OpenSSH public key from k and write it to a file named f.

Get the OpenSSH public key from `k` and write it to a file named `f`.
sourceraw docstring

write-private-key!clj

(write-private-key! k f)

Get the RSA private key from k and write it to a file named f.

Get the RSA private key from `k` and write it to a file named `f`.
sourceraw docstring

write-public-key!clj

(write-public-key! k f)

Get the RSA public key from k and write it to a file named f.

Get the RSA public key from `k` and write it to a file named `f`.
sourceraw docstring

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

× close