Add x16r and x16rv2 algorithms. (#175)
* Add x16r algorithm. * Add x16rv2 algorithm. * Update README.md
This commit is contained in:
parent
1f35bb34c4
commit
9c4baf14ac
@ -50,6 +50,8 @@ Features
|
||||
* ✓ __Quark__ (Quarkcoin [QRK])
|
||||
* ✓ __X11__ (Darkcoin [DRK], Hirocoin, Limecoin)
|
||||
* ✓ __X13__ (MaruCoin, BoostCoin)
|
||||
* ✓ __X16R__ (PexaCoin, RavenCoin)
|
||||
* ✓ __X16RV2__ (PexaCoin, RavenCoin)
|
||||
* ✓ __NIST5__ (Talkcoin)
|
||||
* ✓ __Keccak__ (Maxcoin [MAX], HelixCoin, CryptoMeth, Galleon, 365coin, Slothcoin, BitcointalkCoin)
|
||||
* ✓ __Skein__ (Skeincoin [SKC])
|
||||
|
||||
@ -109,6 +109,22 @@ var algos = module.exports = global.algos = {
|
||||
}
|
||||
}
|
||||
},
|
||||
x16r: {
|
||||
multiplier: Math.pow(2, 8),
|
||||
hash: function(){
|
||||
return function(){
|
||||
return multiHashing.x16r.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
},
|
||||
x16rv2: {
|
||||
multiplier: Math.pow(2, 8),
|
||||
hash: function(){
|
||||
return function(){
|
||||
return multiHashing.x16rv2.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
},
|
||||
nist5: {
|
||||
hash: function(){
|
||||
return function(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user