ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

WIP: Crypto stuff

Open binwiederhier opened this issue 2 years ago • 1 comments

binwiederhier avatar Jul 01 '22 19:07 binwiederhier

I'd recommend looking at libNaCl for implementing the cryptography: It's an awesome library that provides high level concepts and leaves dealing with the cryptographic primitives to the very smart people who designed the library. It's been ported to pretty much every language I can think of:

  • Go: https://pkg.go.dev/golang.org/x/crypto/nacl
  • Python: https://github.com/pyca/pynacl/
  • JavaScript: https://www.npmjs.com/package/js-nacl
  • PHP: https://www.php.net/manual/en/book.sodium.php (built-in as of PHP 7.2.0, for https://github.com/jedisct1/libsodium-php/ older PHPs)
  • Ruby: https://github.com/RubyCrypto/rbnacl

nogweii avatar Sep 11 '22 00:09 nogweii

Closed for now, will be reviewed and reused when #69 is finally being addressed

binwiederhier avatar Sep 24 '23 22:09 binwiederhier