drbg.js
Advanced tools
Comparing version 1.0.0 to 1.0.1
'use strict' | ||
var createHash = require('create-hash') | ||
@@ -4,0 +3,0 @@ var hashInfo = require('./lib/hash-info.json') |
'use strict' | ||
var createHmac = require('create-hmac') | ||
@@ -4,0 +3,0 @@ var hashInfo = require('./lib/hash-info.json') |
'use strict' | ||
// module.exports.CtrDRBG = require('./ctr') | ||
module.exports.HashDRBG = require('./hash') | ||
module.exports.HmacDRBG = require('./hmac') |
'use strict' | ||
exports.b512zero = new Buffer(256) | ||
@@ -4,0 +3,0 @@ ;(function () { |
{ | ||
"name": "drbg.js", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Deterministic Random Bit Generators", | ||
@@ -13,3 +13,3 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/fanatid/drbg.js/issues" | ||
"url": "https://github.com/cryptocoinjs/drbg.js/issues" | ||
}, | ||
@@ -22,6 +22,3 @@ "license": "MIT", | ||
"hmac.js", | ||
"index.js", | ||
"package.json", | ||
"LICENSE", | ||
"README.md" | ||
"index.js" | ||
], | ||
@@ -31,3 +28,3 @@ "main": "./index.js", | ||
"type": "git", | ||
"url": "https://github.com/fanatid/drbg.js.git" | ||
"url": "https://github.com/cryptocoinjs/drbg.js.git" | ||
}, | ||
@@ -34,0 +31,0 @@ "scripts": { |
# drbg.js | ||
[![NPM Package](https://img.shields.io/npm/v/drbg.js.svg?style=flat-square)](https://www.npmjs.org/package/drbg.js) | ||
[![Build Status](https://img.shields.io/travis/fanatid/drbg.js.svg?branch=master&style=flat-square)](https://travis-ci.org/fanatid/drbg.js) | ||
[![Dependency status](https://img.shields.io/david/fanatid/drbg.js.svg?style=flat-square)](https://david-dm.org/fanatid/drbg.js#info=dependencies) | ||
[![Build Status](https://img.shields.io/travis/cryptocoinjs/drbg.js.svg?branch=master&style=flat-square)](https://travis-ci.org/cryptocoinjs/drbg.js) | ||
[![Dependency status](https://img.shields.io/david/cryptocoinjs/drbg.js.svg?style=flat-square)](https://david-dm.org/cryptocoinjs/drbg.js#info=dependencies) | ||
@@ -12,5 +12,5 @@ [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) | ||
Based on NIST Recommended DRBG from [NIST SP800-90A](https://en.wikipedia.org/wiki/NIST_SP_800-90A) with the following properties: | ||
* <s>CTR DRBG with DF with AES-128, AES-192, AES-256 cores</s> see [issue #1](https://github.com/fanatid/drbg.js/issues/1) | ||
* <s>CTR DRBG with DF with AES-128, AES-192, AES-256 cores</s> see [issue #1](https://github.com/cryptocoinjs/drbg.js/issues/1) | ||
* Hash DRBG with DF with SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 cores | ||
* HMAC DRBG with DF with SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 cores | ||
* HMAC DRBG with SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 cores | ||
* <s>with</s> and without prediction resistance | ||
@@ -17,0 +17,0 @@ |
10962