coffer icon indicating copy to clipboard operation
coffer copied to clipboard

Switch to using NaCl

Open awnumar opened this issue 8 years ago • 1 comments

Scrap all the current encryption code and switch to using NaCl's SecretBox for symmetric crypto. I'll list a few reasons below:

  • Don't roll your own crypto
  • It handles authentication so you won't have to scrypt a 512 bit output and split it for AES and HMAC
  • It handles padding
  • It handles nonces
  • Other shit

tl;dr use NaCl

awnumar avatar Aug 06 '16 18:08 awnumar