From ae0e56270603bdd6f1a5bda5035f3939329ff89e Mon Sep 17 00:00:00 2001 From: Andrei Burdulescu Date: Sat, 9 Dec 2023 19:28:57 +0200 Subject: [PATCH] Update todo.org and rename rsa encoding commands --- main.go | 10 +++++----- todo.org | 4 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/main.go b/main.go index 03b31fd..ccc52aa 100644 --- a/main.go +++ b/main.go @@ -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, }, diff --git a/todo.org b/todo.org index 6e16642..26e8094 100644 --- a/todo.org +++ b/todo.org @@ -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]