@plamikcho/pbcrypto
Version:
Password based AES encrypt/decrypt using web crypto api
13 lines • 354 B
HTML
<html>
<head>
<title>Getting Started with web crypto</title>
</head>
<body>
<textarea rows="10" cols="80"></textarea>
<br />
<button id="button1">Encrypt and save to localStorage</button>
<button id="button2">Decrypt from localStorage</button>
<script src="example.js"></script>
</body>
</html>