How to use the rs2DER function from bindings
Find comprehensive JavaScript bindings.rs2DER code examples handpicked from public code repositorys.
GitHub: potcoin/potcore
50 51 52 53 54 55 56 57 58 59
var rbuf = sigbuf.slice(1, 1 + 32); var sbuf = sigbuf.slice(1 + 32, 1 + 32 + 32); var r = bignum.fromBuffer(rbuf); var s = bignum.fromBuffer(sbuf); var sigDER = Key.rs2DER(r, s); var e = bignum.fromBuffer(hash); var key = new Key();
5
2
0
+ 7 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)