Skip to content

Commit

Permalink
docs: Remove redundant example code (#295)
Browse files Browse the repository at this point in the history
The code also generates curve25519 v4 keys at the moment.
  • Loading branch information
pascal-hofmann authored Sep 9, 2024
1 parent 2ec479d commit 2e19517
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@ rsaKeyHigh, err := keyGenHandle.GenerateKeyWithSecurity(constants.HighSecurity)
keyGenHandle = pgpDefault.KeyGeneration().AddUserId(name, email).New()
// Generates curve25519 v4 keys.
ecKey, err := keyGenHandle.GenerateKey()
// Generates curve448 v4 keys.
ecKeyHigh, err := keyGenHandle.GenerateKeyWithSecurity(constants.HighSecurity)

keyGenHandle = pgpCryptoRefresh.KeyGeneration().AddUserId(name, email).New()
// Generates curve25519 v6 keys with RFC9580 (crypto refresh).
Expand Down

0 comments on commit 2e19517

Please sign in to comment.