ntfy
ntfy copied to clipboard
WIP: Crypto stuff
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
Closed for now, will be reviewed and reused when #69 is finally being addressed