Paseto.Net
Paseto.Net copied to clipboard
.NET Implementation of PASETO (v2 local / public encryption)
https://github.com/dustinsoftware/Paseto.Net/blob/452a4b3f5c88283791bf8bd261d0a3dee2e17ccb/Paseto/Authentication/Algorithm.cs#L8-L12 See https://github.com/paseto-standard/paseto-spec/blob/master/docs/02-Implementation-Guide/03-Algorithm-Lucidity.md Right now, byte arrays are accepted by this API. There's no mechanism to prevent a user from using a v2 public key as a v2 local key.
Hi, Since you're mentionning that you're searching for a managed library implementing XChaCha20Poly1305, have you thought about using NSec (https://nsec.rocks/)? It's not managed per se, as it's a wrapper around...