vub
117ecd1e29
Fixed bytesToNum bug
12 years ago
vub
a753f069a5
Fixed bug in numToBytes and util -> conv
12 years ago
vub
38ea108183
Bugfix
12 years ago
vub
44d740f84e
Small bugfix
12 years ago
vub
9922864da4
Added deserialization, made some modifications
12 years ago
Roman Shtylman
0faac29134
start to split into node commonjs style modules
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
12 years ago
Stefan Thomas
07f9d55ccb
Fixed DER-encoding - expects signed integers.
Thanks to Ben Reeves for the report and Tomas Pomin for the solution.
See http://crypto.stackexchange.com/questions/1795/converting-a-der-ecdsa-signature-to-asn-1
13 years ago
Stefan Thomas
09e8c6e184
Added comments.
13 years ago
Stefan Thomas
1a7fc9d063
Fixed indents.
13 years ago
Stefan Thomas
734bd57a23
Added copies of Crypto.util.* tools in Bitcoin.Util namespace.
14 years ago
Stefan Thomas
6fdba19373
New utility function for parsing value strings.
14 years ago
Stefan Thomas
8b32d43335
Moved sources into src/ subdirectory.
14 years ago
Stefan Thomas
27ec74ba8a
Fixed all cases of unsafe BigInteger <-> byte[] conversion.
The BigInteger class we're using supports negative integers and
encodes them with a sign bit. Since in our application we are dealing
with unsigned integers only, we need to disable this functionality by
creating two wrapper functions toByteArrayUnsigned and
fromByteArrayUnsigned.
14 years ago
Stefan Thomas
c0d740d2d4
Initial import
14 years ago