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!
(let [key (generate-key)]
(write-private-key! key "pvt.pem")
(write-public-key! key "pub.pem")
(write-openssh-public-key! key "id_rsa.pub")))
Copyright (c) 2020 Saidone
Distributed under the MIT License
Can you improve this documentation? These fine people already did:
Saidone & saidoneEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close