Files
planilla/mcp/node_modules/@modelcontextprotocol/sdk/node_modules/cookie-signature
josedario87 b5e40cf4ac
All checks were successful
build-and-push / build (push) Successful in 17s
build-and-push / deploy (push) Successful in 19s
se supone que mcp server up
2025-05-02 19:33:50 -06:00
..
2025-05-02 19:33:50 -06:00
2025-05-02 19:33:50 -06:00
2025-05-02 19:33:50 -06:00
2025-05-02 19:33:50 -06:00
2025-05-02 19:33:50 -06:00

cookie-signature

Sign and unsign cookies.

Example

var cookie = require('cookie-signature');

var val = cookie.sign('hello', 'tobiiscool');
val.should.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI');

var val = cookie.sign('hello', 'tobiiscool');
cookie.unsign(val, 'tobiiscool').should.equal('hello');
cookie.unsign(val, 'luna').should.be.false;

License

MIT.

See LICENSE file for details.