|
|
|
|
|
by peterevans
3007 days ago
|
|
A lot of advice I've seen (such as this) postdates much of the standard library implementation by quite a bit. I could not, however, suggest that the current design for crypt is good or bad, for I have not used it often enough to offer a worthy opinion. People seem to really click with the net/http design, and that does seem well done, but I imagine the standard library itself is a bit unevenly architected. |
|
And while NewAES might predate this advice, NewGCM (which returns an opaque crypto.AEAD) does not.