create-hmac (1.1.7)

Published 2026-02-24 13:54:42 +00:00 by atheaadmin

Installation

registry=
npm install create-hmac@1.1.7
"create-hmac": "1.1.7"

About this package

create-hmac

NPM Package Build Status Dependency status

js-standard-style

Node style HMACs for use in the browser, with native HMAC functions in node. API is the same as HMACs in node:

var createHmac = require('create-hmac')
var hmac = createHmac('sha224', Buffer.from('secret key'))
hmac.update('synchronous write') //optional encoding parameter
hmac.digest() // synchronously get result with optional encoding parameter

hmac.write('write to it as a stream')
hmac.end() //remember it's a stream
hmac.read() //only if you ended it as a stream though

Dependencies

Dependencies

ID Version
cipher-base ^1.0.3
create-hash ^1.1.0
inherits ^2.0.1
ripemd160 ^2.0.0
safe-buffer ^5.0.1
sha.js ^2.4.8

Development Dependencies

ID Version
hash-test-vectors ^1.3.2
standard ^5.3.1
tap-spec ^2.1.2
tape ^3.0.3

Keywords

crypto hmac
Details
npm
2026-02-24 13:54:42 +00:00
1
MIT
latest
2.4 KiB
Assets (1)
Versions (1) View all
1.1.7 2026-02-24