npm i cookie-signature-edge --save
yarn add cookie-signature-edge --save
import {sign,unsign} from 'cookie-signature-edge'
export const config = {
runtime: 'edge',
}
export default async (req) => {
const value = "hello2";
const secret='qwertyuiasdfghjkzxcvbnm';
const signedValue=await sign(value,secret);
const unsignedValue = await unsign(signedValue,secret)
console.log(unsignedValue);
// value===unsignedValue
// unfinished code ...
}