3 ms·
If you would like to get into client side encryption, you could take a look here: https://pilabor.com/blog/2021/05/js-gcm-encrypt-dotnet-decrypt/ https://pilab
by sandreas 5y ago
If you would like to get into client side encryption, you could take a look here:
https://pilabor.com/blog/2021/05/js-gcm-encrypt-dotnet-decrypt/ https://pilabor.com/blog/2021/05/js-gcm-encrypt-dotnet-decry...
Notes:
- This is symmetric encryption via AES-GCM, but asymmetric should work similar
- In-browser randomness (for key generation) is somewhat questionable, so try to read more about this topic
- This is meant as an intro to the topic - real security takes much more, like thinking about secure key storage, backup/recovery keys, etc.