Liking cljdoc? Tell your friends :D

clj-ssh-keygen

Clojars Project

Generate RSA PKCS #1 keys from scratch (without 3rd party libs) in Clojure, export PEM and OpenSSH formats

☛ intended for hacking and educational purposes only!

public key

Usage

 (let [key (generate-key)]
    (write-private-key! (private-key key) "pvt.pem")
    (write-public-key! (public-key key) "pub.pem")
    (write-openssh-public-key! (openssh-public-key key) "id_rsa.pub")))

License

Copyright (c) 2020 Saidone

Distributed under the MIT License

Can you improve this documentation? These fine people already did:
Saidone & saidone
Edit on GitHub

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