Skip to main content

Deno - JWE Cookie Module

Provides a iterable map interfaces for managing JWE cookies server side. Similar to CookieMap.

By default the JWECookieMap uses a automatically generated “RSA-OAEP-256” key pair in the DEFAULT_CONFIG , this value is not persisted between executions.

newCookieWithKeyPair is a helper functions to generate a JWECookieMap with a new set of automatically generated key pair.

However the recommended use of this library, is loading your key pair and creating a reusable instance of JWECookieConfiguration with your default cookie options.

Documentation

Browse the Full Documentation with examples on Deno Land.