Hacker News new | past | comments | ask | show | jobs | submit login

Don't copy and paste code! Instead, use a well maintained library.



Such as nacl/secretbox for encryption instead of rolling your own AES-GCM

https://godoc.org/golang.org/x/crypto/nacl/secretbox


I'm not sure, but isn't this post about showing how to use such libraries?


No: "Copy and paste-friendly Go crypto"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: