Daniel Cousens
bcfd62fdb5
ecdsa: remove implicit ecparams
11 years ago
Daniel Cousens
2dec1375a1
ecdsa: use (r, s) values directly
11 years ago
Daniel Cousens
8d7408202f
ecdsa: consistent parameter ordering
11 years ago
Daniel Cousens
a3f691bf7c
ecdsa: parseSigCompact use Buffer API
parseSigCompact also now returns the correct recovert parameter without
the need to subtract the compression bit.
This makes it easier to use.
11 years ago
Daniel Cousens
db3ffe58d1
message: use serializeSigCompact
11 years ago
Daniel Cousens
6b5990c6e2
message: support alternate networks
11 years ago
Daniel Cousens
e27c97a791
ECPubKey/ECKey: separate to two files
11 years ago
Daniel Cousens
05e0d08098
BufferExt: rename to bufferutils
11 years ago
Daniel Cousens
02013beda9
Renames variables to be more verbose
11 years ago
Daniel Cousens
4716eb29bf
Removes redundant convert functions
11 years ago
Daniel Cousens
df6ea8aea2
Removes toPaddedBuffer and extends toBuffer
11 years ago
Daniel Cousens
d8883e8d32
Adds BI.toPaddedBuffer and toBuffer
11 years ago
Daniel Cousens
1b46a10d2a
magicHash now uses Buffers internally
11 years ago
Daniel Cousens
c44af2109e
Uses typeof address === 'string' instead
11 years ago
Daniel Cousens
682ec133bb
Migrates Address to stricter API subset
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago
Daniel Cousens
c99a576fbd
Migrates all usage of crypto-js/sha256 to ./crypto
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
Daniel Cousens
10dea421d5
Removes circular dependancy of ECKey
11 years ago
Daniel Cousens
bfc5924522
Compression is irrelevant in comparison
11 years ago
Daniel Cousens
669a58bbf8
Removes unnecessary SHA256 calculations
11 years ago
Daniel Cousens
78e91e8648
Further isolates failure tests and joins [un]/compressed key tests
11 years ago
Daniel Cousens
38f09b49e9
Now using Bytes consistently for signatures
11 years ago
Daniel Cousens
7ec046f797
Changes Message.*Message function names to Message.*
11 years ago
Daniel Cousens
373f668562
Adds version support to Message.verifyMessage
11 years ago
Jonathon Reesor
096f8c982e
Cleaning up message.js
11 years ago
Daniel Cousens
b40374e332
Changes to new version-less ECKey API
11 years ago
Andreas Brekken
08e75a82c9
Add whether pubkey recovered from sig is compressed. close #61
11 years ago
Andreas Brekken
f09890fed1
Determine whether key is compressed from the key itself. ref #61
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
Andreas Brekken
3ef468ec8b
Remove call to non-existant method ECPubKey.setCompressed
11 years ago
Nadav Ivgi
0a075573ed
Fix signing with compressed keys
calcPubkeyRecoveryParam always assumed a non-compressed key, and was comparing
the address generated from a non-compressed public key against the original
address generated from the compressed public key.
This commit fixes it by passing the entire pubkey object, and configuring the
generated address to use the same compressed setting as the original one.
11 years ago
vub
5e2a9f0c26
Added BIP32 support
11 years ago
vub
e43d23235b
Added some transaction methods, and removed all internal use of base64
11 years ago
Roman Shtylman
41f0027883
port message to common.js style and add tests
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
c2ce224d1b
Remove debugging statements. Fixes #8 .
13 years ago
Stefan Thomas
49114d6540
Fix signMessage serialization.
13 years ago
Stefan Thomas
0aaa2c6347
Fix calcPubkeyRecoveryParam - must verify pubkey correctness.
13 years ago
Stefan Thomas
9b2f94a028
Implement Bitcoin's method for arbitrary message signatures.
13 years ago