Réorganisation du projet, les exercices sont contenus dans des directories dédiés

This commit is contained in:
2025-04-14 12:04:59 +02:00
parent 4c33d81d95
commit c0ef56a44e
606 changed files with 0 additions and 0 deletions

23
Exercice-1/node_modules/cookie-signature/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,23 @@
# cookie-signature
Sign and unsign cookies.
## Example
```js
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.