Christopher Jeffrey
dd165ecf63
paypro: root certs - do not inherit from Object.
11 years ago
Christopher Jeffrey
5b4c4f3894
paypro: get root cert names.
11 years ago
Christopher Jeffrey
0020e289d8
paypro: allow identification of root certs.
11 years ago
Christopher Jeffrey
11c977ba70
fix: typo - s/Payment/PaymentACK/
11 years ago
Christopher Jeffrey
017f044b53
paypro: fix browser signatures with KJUR. move pem/der functions to common.
11 years ago
Christopher Jeffrey
604ac04f47
paypro: split up paypro into node/browser/common.
11 years ago
Christopher Jeffrey
cec71a51fd
paypro: add isTrusted function to RootCerts.
11 years ago
Christopher Jeffrey
85d5e69fc1
paypro: move root certs to common.
11 years ago
Ryan X. Charles
bfe5877ee7
require SecureRandom and Point ... woops
11 years ago
Ryan X. Charles
57a55d0863
expose signature internal functions
"sign" and "genk" ... and add some signature tests
11 years ago
Ryan X. Charles
5f6d02f5de
add proper DER signature support to Key
both creating DER signature from the r and s values, and parsing a DER
signature into the r, s, and other properties.
11 years ago
Linus Unnebäck
3da6fe899f
cleanup after removal of soop
Removed some unnecessary parenthesise that hung around after the merge
of #417
11 years ago
Ryan X. Charles
af1d754bd8
make bignum interface backwards compatible
- fix cmp, mul, div, add, mod, sub functions to take numbers and strings
- fix Point class to use common folder correctly
11 years ago
Manuel Araoz
87b818badf
remove soop exports
11 years ago
Manuel Araoz
6e346d067c
remove soop imports
11 years ago
Ryan X. Charles
ca67786a77
ran js-beautify on all bitcore source
js-beautify -s 2 -r *.js
...did not run on bundles, only on source.
11 years ago
Ryan X. Charles
80ccaa8396
rename "rand" to more explanatory "getRandomSeed"
11 years ago
Ryan X. Charles
af9fdff3a9
use SJCL AES to get ECIES working in the browser
11 years ago
Ryan X. Charles
ba692aaa20
add new SecureRandom class that does the right thing
Generating random numbers properly depends on the platform. The new
getRandomBuffer method does the right thing on the right platform. It will
sometimes fail due to insufficient entropy. The getPseudoRandomBuffer class is
also provided that will never fail, but it is not cryptographically secure and
should not be used for keys.
11 years ago