improving UI and wording for signing page

This commit is contained in:
Manuel Araoz 2014-04-21 12:10:34 -03:00
commit 9779d5f6df
7 changed files with 28 additions and 27 deletions

View file

@ -23,7 +23,8 @@ PrivateKey.prototype.getId = function(prefix) {
if (prefix) {
buf = Buffer.concat([prefix, buf]);
}
return util.ripe160(buf).toString('hex');
var hash = util.sha256(buf).toString('hex');
return hash.substring(0, hash.length/2);
};