Daniel Cousens
e9193df290
message: cease accepting an Address object
10 years ago
Daniel Cousens
588b346f5d
ECPair: cease using Address for address encoding
10 years ago
Daniel Cousens
4c8b0f38ea
replace ECKey/ECPubKey with ECPair
10 years ago
Daniel Cousens
1079bf95c1
message: use messagePrefix naming over magicPrefix
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
2214ccfdd8
bufferutils: add varIntBuffer
11 years ago
Daniel Cousens
98bc1685b3
message: remove unnecessary verbosity
11 years ago
Daniel Cousens
1b57f0871d
message: remove duplicate require
11 years ago
Daniel Cousens
4b52c42c91
Message: allow base64 strings as input
11 years ago
Daniel Cousens
92da7975e4
Network: use capitalization
11 years ago
Daniel Cousens
1f0a54fb41
ECSignature: rename parsing functions to parse*
11 years ago
Daniel Cousens
eb3d9a25f7
ecdsa: moved all signature encoding to ECSignature
11 years ago
Daniel Cousens
553ade1208
network: always use lowercase
11 years ago
Daniel Cousens
4ce9015f3b
use ecurve instead of custom ec
11 years ago
Daniel Cousens
28dc390377
EC/Key: use network object consistently
11 years ago
Daniel Cousens
58fd12e66d
ecdsa: always use signature object
11 years ago
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.
12 years ago
vub
5e2a9f0c26
Added BIP32 support
12 years ago