Permalink
Browse files

use current algorithm name; remove public key prefix

  • Loading branch information...
1 parent c76313c commit 09914173a1834319aa5d2112237720412edf897c @harlantwood harlantwood committed Dec 3, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 playground/playground.js
@@ -856,9 +856,9 @@
promise = jsigs.promises.sign(input, {
privateKeyWif: pkey,
- algorithm: 'sha256-ecdsa-secp256k1-2016',
+ algorithm: 'BitcoinSignature2016',
domain: 'example.com',
- creator: 'sha256-ecdsa-secp256k1-public-key:' + new bitcoreMessage.Bitcore.PrivateKey(pkey).toPublicKey()
+ creator: 'public-key:' + new bitcoreMessage.Bitcore.PrivateKey(pkey).toPublicKey()
});
}
else {

0 comments on commit 0991417

Please sign in to comment.