diff --git a/ed25519/ed25519.go b/ed25519/ed25519.go index a7828345fc..ee5a9842ae 100644 --- a/ed25519/ed25519.go +++ b/ed25519/ed25519.go @@ -23,12 +23,20 @@ import ( const ( // PublicKeySize is the size, in bytes, of public keys as used in this package. + // + // This const is an alias for [crypto/ed25519.PublicKeySize]. PublicKeySize = 32 // PrivateKeySize is the size, in bytes, of private keys as used in this package. + // + // This const is an alias for [crypto/ed25519.PrivateKeySize]. PrivateKeySize = 64 // SignatureSize is the size, in bytes, of signatures generated and verified by this package. + // + // This const is an alias for [crypto/ed25519.SignatureSize]. SignatureSize = 64 // SeedSize is the size, in bytes, of private key seeds. These are the private key representations used by RFC 8032. + // + // This const is an alias for [crypto/ed25519.SeedSize]. SeedSize = 32 )