Example to use web crypto api to encrypt file and string Demo: https://benjamin5252.github.io/web_crypto_api_example/ [JavaScript] How to use Web Crypto API in web frontend — AES-256 File encryption (With openSSL command equivalent) https://medium.com/@yinte1222/js-how-to-use-web-crypto-api-in-frontend-aes-256-file-encryption-with-openssl-equivalent-60abc7180b8a [JavaScript] How to use Web Crypto API in web frontend (Two) — RSA asymmetric string encryption and decryption. https://medium.com/@yinte1222/js-how-to-use-web-crypto-api-in-web-frontend-two-rsa-asymmetric-string-encryption-9e7987bd43ab