-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
As golint helpfully points out:
func name will be used as randombytes.RandomBytesSeedBytes by other packages, and that stutters; consider calling this SeedBytes
It gets especially cumbersome with functions like: cryptoaead.CryptoAEADAES256GCMEncrypt.
Additionally, overlap in naming with with crypto/nacl could result in making this library a drop-in replacement.
I think the most convenient way to structure the packages would be crypto/box, crypto/aead/aes256gcm and crypto/stream/xsalsa20.
Renaming, however, does break backward compatibility in a major way.