Web lists-archives.com

Bug#854508: ITP: node-hash-base -- abstract base class for hash-streams




Package: wnpp
Severity: wishlist
Owner: Shirish Togarla <shirishtogarla533@xxxxxxxxx>
X-Debbugs-CC: debian-devel@xxxxxxxxxxxxxxxx

* Package name    : node-hash-base
  Version         : 3.0.3
  Upstream Author : Kirill Fomichev <fanatid@xxxxx> (https://github.com/fanatid)
* URL             : https://github.com/crypto-browserify/hash-base
* License         : Expat
  Programming Lang: _javascript_
  Description     : abstract base class for hash-streams

 Abstract base class to inherit from if you want to create streams
 implementing the same API as node crypto Hash 1. For example
 function MyHash () {
  HashBase.call(64) // in bytes
 }
 inherits(MyHash, HashBase)
 MyHash.prototype._update = function () {
  // hashing one block with buffer this._block
 }
 MyHash.prototype._digest = function () {
  // create padding and produce result
 }