diff --git a/README.md b/README.md index c1053ef..7d054e8 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # 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) [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) Deterministic Random Bits Generators Based on NIST Recommended DRBG from [NIST SP800-90A](https://en.wikipedia.org/wiki/NIST_SP_800-90A) with the following properties: - * CTR DRBG with DF with AES-128, AES-192, AES-256 cores see [issue #1](https://github.com/fanatid/drbg.js/issues/1) + * CTR DRBG with DF with AES-128, AES-192, AES-256 cores 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 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 cores * with and without prediction resistance diff --git a/ctr.js b/ctr.js index 2b261b6..0616bcb 100644 --- a/ctr.js +++ b/ctr.js @@ -1,5 +1,4 @@ 'use strict' - var createCipher = require('browserify-aes').createCipher var cipherInfo = require('./lib/cipher-info.json') var util = require('./lib/util') diff --git a/hash.js b/hash.js index 4aca1c0..d3e1e0a 100644 --- a/hash.js +++ b/hash.js @@ -1,5 +1,4 @@ 'use strict' - var createHash = require('create-hash') var hashInfo = require('./lib/hash-info.json') var util = require('./lib/util') diff --git a/hmac.js b/hmac.js index e1fc176..a09ac32 100644 --- a/hmac.js +++ b/hmac.js @@ -1,5 +1,4 @@ 'use strict' - var createHmac = require('create-hmac') var hashInfo = require('./lib/hash-info.json') diff --git a/index.js b/index.js index d269fbb..ae2e427 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ 'use strict' - // module.exports.CtrDRBG = require('./ctr') module.exports.HashDRBG = require('./hash') module.exports.HmacDRBG = require('./hmac') diff --git a/lib/util.js b/lib/util.js index 7f07379..b0005b7 100644 --- a/lib/util.js +++ b/lib/util.js @@ -1,5 +1,4 @@ 'use strict' - exports.b512zero = new Buffer(256) ;(function () { for (var i = 0; i < exports.b512zero.length; ++i) exports.b512zero[i] = 0 diff --git a/package.json b/package.json index f09f210..31d4222 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "drbg.js", - "version": "1.0.0", + "version": "1.0.1", "description": "Deterministic Random Bit Generators", "keywords": [ "drbg", @@ -10,7 +10,7 @@ "hmacdrbg" ], "bugs": { - "url": "https://github.com/fanatid/drbg.js/issues" + "url": "https://github.com/cryptocoinjs/drbg.js/issues" }, "license": "MIT", "author": "Kirill Fomichev (https://github.com/fanatid)", @@ -18,15 +18,12 @@ "lib", "hash.js", "hmac.js", - "index.js", - "package.json", - "LICENSE", - "README.md" + "index.js" ], "main": "./index.js", "repository": { "type": "git", - "url": "https://github.com/fanatid/drbg.js.git" + "url": "https://github.com/cryptocoinjs/drbg.js.git" }, "scripts": { "lint": "standard", diff --git a/test/ctr.js b/test/ctr.js index 096b2c2..9f7add9 100644 --- a/test/ctr.js +++ b/test/ctr.js @@ -1,5 +1,4 @@ 'use strict' - var tap = require('tap') var CtrDRBG = require('../ctr') diff --git a/test/hash.js b/test/hash.js index 3bd6537..fc6752e 100644 --- a/test/hash.js +++ b/test/hash.js @@ -1,5 +1,4 @@ 'use strict' - var tap = require('tap') var HashDRBG = require('../hash') diff --git a/test/hmac.js b/test/hmac.js index 344e5bc..7d20fb2 100644 --- a/test/hmac.js +++ b/test/hmac.js @@ -1,5 +1,4 @@ 'use strict' - var tap = require('tap') var HmacDRBG = require('../hmac') diff --git a/test/index.js b/test/index.js index 56c5c2c..1a3c1d6 100644 --- a/test/index.js +++ b/test/index.js @@ -1,5 +1,4 @@ 'use strict' - var tap = require('tap') var drbg = require('../') diff --git a/test/nist-vectors.js b/test/nist-vectors.js index f10ae86..8eb82cc 100644 --- a/test/nist-vectors.js +++ b/test/nist-vectors.js @@ -1,5 +1,4 @@ 'use strict' - var path = require('path') var fs = require('fs') diff --git a/test/util.js b/test/util.js index 713dcb8..a4bca69 100644 --- a/test/util.js +++ b/test/util.js @@ -1,5 +1,4 @@ 'use strict' - var tap = require('tap') var util = require('../lib/util')