Sha256: 01c5dbab58281b399035be8900268b0b4f39e588a6e68ee9cbaeb3dc76dac821

Contents?: true

Size: 1.06 KB

Versions: 34

Compression:

Stored size: 1.06 KB

Contents

# create-hmac

[![NPM Package](https://img.shields.io/npm/v/create-hmac.svg?style=flat-square)](https://www.npmjs.org/package/create-hmac)
[![Build Status](https://img.shields.io/travis/crypto-browserify/createHmac.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/createHmac)
[![Dependency status](https://img.shields.io/david/crypto-browserify/createHmac.svg?style=flat-square)](https://david-dm.org/crypto-browserify/createHmac#info=dependencies)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

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

```js
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
```

Version data entries

34 entries across 33 versions & 11 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/create-hmac/README.md
disco_app-0.18.0 test/dummy/node_modules/create-hmac/README.md
disco_app-0.18.2 test/dummy/node_modules/create-hmac/README.md
disco_app-0.16.1 test/dummy/node_modules/create-hmac/README.md
disco_app-0.15.2 test/dummy/node_modules/create-hmac/README.md
disco_app-0.18.4 test/dummy/node_modules/create-hmac/README.md
disco_app-0.18.1 test/dummy/node_modules/create-hmac/README.md
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/create-hmac/README.md
disco_app-0.14.0 test/dummy/node_modules/create-hmac/README.md
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/create-hmac/README.md
tang-0.2.1 spec/tang_app/node_modules/create-hmac/README.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/create-hmac/README.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/create-hmac/README.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/create-hmac/README.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/create-hmac/README.md
tang-0.2.0 spec/tang_app/node_modules/create-hmac/README.md
tang-0.1.0 spec/tang_app/node_modules/create-hmac/README.md
tang-0.0.9 spec/tang_app/node_modules/create-hmac/README.md
enju_library-0.3.8 spec/dummy/node_modules/create-hmac/README.md
ilog-0.4.1 node_modules/create-hmac/README.md