junderw
335ed99a1c
Fix error for lack of rmd160 in Electron v4
6 years ago
d-yokoi
03632f1507
style: apply prettier
6 years ago
junderw
bc28949056
Commit js, ts, and definitions in separate folders
6 years ago
junderw
037fbd8984
# This is a combination of 2 commits.
# The first commit's message is:
Add types to Networks and Addresses
# This is the 2nd commit message:
Added types
6 years ago
junderw
d684a6b2ef
Fix compiler errors, tests, and scripts
6 years ago
junderw
bb98289501
Renamed files to ts
6 years ago
Daniel Cousens
91b8823aa8
sed -i 's/^var /const /'
7 years ago
Daniel Cousens
a1d3e33c84
address/crypto/script/types: adhere to no-use-before-define
8 years ago
Daniel Cousens
b5c42303ff
crypto: use packages directly
10 years ago
Daniel Cousens
08cc8f8621
crypto: remove Hmac* exposure in API
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
f3ddc508f1
crypto: add deprecation warnings
10 years ago
Daniel Cousens
c96b862530
crypto: remove cryptojs
10 years ago
Daniel Cousens
f0370ef46f
crypto: use latest crypto-browserify
11 years ago
Daniel Cousens
9d2784a441
crypto: add RIPEMD160 tests
11 years ago
Daniel Cousens
8433d73d06
convert: use Buffers and add more tests
11 years ago
Kyle Drake
f545ed1279
remove crypto hash transition code
11 years ago
Daniel Cousens
b208a6ab78
crypto/ecdsa: moves HmacSHA256 to crypto
11 years ago
Daniel Cousens
276a339d60
crypto: HMACSHA512 into crypto and add tests
11 years ago
Daniel Cousens
aa8d86e6a4
Hash160 now outputs a buffer
11 years ago
Daniel Cousens
c99a576fbd
Migrates all usage of crypto-js/sha256 to ./crypto
11 years ago
Daniel Cousens
81d9c8e759
Renames util.js to crypto.js
11 years ago
Daniel Cousens
a4c2cc6dd4
Removes pointless error utility function
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
lms
98aeb47c6f
cleaned up address.js
11 years ago
Wei Lu
3d6b66e811
move convert methods from util to convert
11 years ago
Wei Lu
a281a5ab53
migrate crypto-js to 3.1.2
11 years ago
Wei Lu
bde9b13b15
remove isArray shim
[closes #40 ]
11 years ago
Andreas Brekken
61992462e3
Rewrite util.js for readability
11 years ago
vub
b3e7caada7
Removed useless functions from util
11 years ago
Nadav Ivgi
df88e93849
Support Numbers in formatValue
11 years ago
vub
5e2a9f0c26
Added BIP32 support
11 years ago
vub
f53a4e3ffa
Added sign with keys method to transaction and did lots of small cleanups
11 years ago
vub
117ecd1e29
Fixed bytesToNum bug
11 years ago
vub
a753f069a5
Fixed bug in numToBytes and util -> conv
11 years ago
vub
38ea108183
Bugfix
11 years ago
vub
44d740f84e
Small bugfix
11 years ago
vub
9922864da4
Added deserialization, made some modifications
11 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.
13 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