Paseto
Paseto copied to clipboard
Remove libsodium
This PR removes libsalty
library because outdated and no longer maintained.
libsalty
was used for XChaCha20Poly1305
and Ed25519
crypto functions that are now implemented using Erlang native crypto functions.
I also fixed an issue where V2.sign/3
expected a keypair (a binary composed with private + public key) with 64 bytes length to work. Only the secret key is needed for signing and must be 32 bytes.