Brought documentation up to date

This commit is contained in:
Simon Brooke 2023-01-10 02:15:29 +00:00
parent 66da871bb8
commit 0ae34c8ac1
35 changed files with 3894 additions and 1409 deletions

View file

@ -56,11 +56,11 @@
;; how we make a public/private key pair. But this key pair is not the one
;; known to mastodon.scot as my key pair, so that doesn't get us very far...
;; I think.
(let [rsa (pgp-gen/rsa-keypair-generator 2048)
kp (pgp-gen/generate-keypair rsa :rsa-general)
public (-> kp .getPublicKey .getEncoded)
private (-> kp .getPrivateKey .getPrivateKeyDataPacket .getEncoded)]
(println (str "Public key: " public))
(println (str "Private key: " private))
)
;; (let [rsa (pgp-gen/rsa-keypair-generator 2048)
;; kp (pgp-gen/generate-keypair rsa :rsa-general)
;; public (-> kp .getPublicKey .getEncoded)
;; private (-> kp .getPrivateKey .getPrivateKeyDataPacket .getEncoded)]
;; (println (str "Public key: " public))
;; (println (str "Private key: " private))
;; )