Created
July 1, 2014 13:44
-
-
Save mltucker/f32fe225e14a4e0516ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sig = new KJUR.crypto.Signature({ alg: "SHA224withECDSA" }); | |
var ecdsa = new KJUR.crypto.ECDSA({ curve: "secp224r1" }); | |
ecdsa.setPrivateKeyHex(b64tohex(this.keys.client.priv)); | |
sig.init(ecdsa); | |
return sig.signHex(message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment