Skip to content

Commit

Permalink
Moved to cryptocoinjs
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Feb 17, 2016
1 parent bf83bc0 commit 4dc077f
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:
* <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 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 cores
* <s>with</s> and without prediction resistance
Expand Down
1 change: 0 additions & 1 deletion ctr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var createCipher = require('browserify-aes').createCipher
var cipherInfo = require('./lib/cipher-info.json')
var util = require('./lib/util')
Expand Down
1 change: 0 additions & 1 deletion hash.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var createHash = require('create-hash')
var hashInfo = require('./lib/hash-info.json')
var util = require('./lib/util')
Expand Down
1 change: 0 additions & 1 deletion hmac.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var createHmac = require('create-hmac')
var hashInfo = require('./lib/hash-info.json')

Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

// module.exports.CtrDRBG = require('./ctr')
module.exports.HashDRBG = require('./hash')
module.exports.HmacDRBG = require('./hmac')
1 change: 0 additions & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drbg.js",
"version": "1.0.0",
"version": "1.0.1",
"description": "Deterministic Random Bit Generators",
"keywords": [
"drbg",
Expand All @@ -10,23 +10,20 @@
"hmacdrbg"
],
"bugs": {
"url": "https://github.com/fanatid/drbg.js/issues"
"url": "https://github.com/cryptocoinjs/drbg.js/issues"
},
"license": "MIT",
"author": "Kirill Fomichev <[email protected]> (https://github.com/fanatid)",
"files": [
"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",
Expand Down
1 change: 0 additions & 1 deletion test/ctr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var tap = require('tap')
var CtrDRBG = require('../ctr')

Expand Down
1 change: 0 additions & 1 deletion test/hash.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var tap = require('tap')
var HashDRBG = require('../hash')

Expand Down
1 change: 0 additions & 1 deletion test/hmac.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var tap = require('tap')
var HmacDRBG = require('../hmac')

Expand Down
1 change: 0 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var tap = require('tap')
var drbg = require('../')

Expand Down
1 change: 0 additions & 1 deletion test/nist-vectors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var path = require('path')
var fs = require('fs')

Expand Down
1 change: 0 additions & 1 deletion test/util.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict'

var tap = require('tap')
var util = require('../lib/util')

Expand Down

0 comments on commit 4dc077f

Please sign in to comment.