@worker-tools/encrypted-cookie-store

A CookieStore implementation that transparently encrypts cookie values via Web Cryptography API

Usage no npm install needed!

<script type="module">
  import workerToolsEncryptedCookieStore from 'https://cdn.skypack.dev/@worker-tools/encrypted-cookie-store';
</script>

README

Encrypted Cookie Store

A partial implementation of the Cookie Store API that transparently encrypts and decrypts cookies via AES-GCM.

This is likely only useful in server-side implementations, but written in a platform-agnostic way.