Skip to content

rawjson/hmac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Understand How HMAC works

This example shows how to validate and verify a request with a middleware by using a built in crypto module provided by node.js

Include a secret in your .env file.

SECRET=   // use any secret value

Installation and running:

$ npm i
$ nodemon app.js

About

To understand how HMAC works. Using the built in crypto module provided by node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published