Skip to content

Commit

Permalink
Update todo.org and rename rsa encoding commands
Browse files Browse the repository at this point in the history
  • Loading branch information
aburdulescu committed Dec 9, 2023
1 parent f4f22b3 commit ae0e562
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ func main() {
a.Add(
"Key Encoding",
app.Command{
Name: "rsa-pub-from-priv",
Name: "rsa-priv2pub",
Usage: "Extract RSA public key from private key",
Run: rsa.PubFromPrivCmd,
},
app.Command{
Name: "rsa-raw-der",
Name: "rsa-raw2der",
Usage: "Convert RSA key from raw values(n, e, d, p, q) to PKCS#1 ASN.1 DER",
Run: rsa.RawDerCmd,
}, app.Command{
Name: "rsa-der-raw",
Name: "rsa-der2raw",
Usage: "Convert RSA key from PKCS#1 ASN.1 DER to raw values(n, e, d, p, q)",
Run: rsa.DerRawCmd,
}, app.Command{
Name: "rsa-pem-der",
Name: "rsa-pem2der",
Usage: "Convert RSA key from PEM to PKCS#1 ASN.1 DER",
Run: rsa.PemDerCmd,
}, app.Command{
Name: "rsa-der-pem",
Name: "rsa-der2pem",
Usage: "Convert RSA key from PKCS#1 ASN.1 DER to PEM",
Run: rsa.DerPemCmd,
},
Expand Down
4 changes: 1 addition & 3 deletions todo.org
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
* todo [0/2]
** TODO refactor hash-sha into sha1, sha256, sha512
** TODO refactor commands based on alg: aes-ecb -> ecb, kdf-pbkdf2 -> pbkdf2 etc.
* todo [0/0]

0 comments on commit ae0e562

Please sign in to comment.