You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ryan X. Charles
65ab3a663a
fix string/buffer sjcl issue
...by using sjcl.mode.cbc.encrypt/decrypt rather than sjcl.encrypt/decrypt. The
difference is that the sjcl.encrypt/decrypt functions are really convenience
methods designed to encrypt and decrypt strings, but don't play nice with
binary data, as revealed in the tests in this commit and the previous commit.
Basically, if you use them to encrypt and decrypt binary data as a string, it
will return the wrong result or an error.
The solution is to use the block cipher directly, in this case sjcl.mode.cbc.
This also has the advantage of fewer format conversions - no converting to
base64 and JSON strings. This makes things faster. Also, it is actually correct
unlike the previous method.
11 years ago
..
data
remove unused code from Script. Update it to do not use scriptSig placeholders
11 years ago
adapter.js
fixing testdata inclusion in browser
11 years ago
index-testling.html
add Message to browser build and tests
11 years ago
index.html
add "real" 0.1.24 and 0.1.25, and...
11 years ago
mocha.opts
Bitcoin address tests, from bitcoin/bitcoin.git
12 years ago
mute.js
malloc -> calloc, to fix linux version
11 years ago
test.Address.js
Fix checksum comparison error. Closes #402
11 years ago
test.Armory.js
Armory: added tests
11 years ago
test.BIP39.js
add check function for BIP39
11 years ago
test.Base58.js
Fix checksum comparison error. Closes #402
11 years ago
test.Bignum.browser.js
fix bignum issue
11 years ago
test.Block.js
fix firefox compatibility issue with buffertools#compare
11 years ago
test.Bloom.js
support soop with browser all test passing
11 years ago
test.Connection.js
make Connection test only run in node
11 years ago
test.Curve.js
Move BigNumber to internal
11 years ago
test.ECIES.js
fix string/buffer sjcl issue
11 years ago
test.Electrum.js
remove unnecessary "change" console.log from Electrum test
11 years ago
test.EncodedData.js
support soop with browser all test passing
11 years ago
test.HierarchicalKey.js
malloc -> calloc, to fix linux version
11 years ago
test.Key.js
malloc -> calloc, to fix linux version
11 years ago
test.Key.node.js
split Key node tests into separate file
11 years ago
test.Message.js
add tests that confirm Message works with buffers
11 years ago
test.Opcode.js
remove eval
11 years ago
test.PayPro.js
add sign/verify with pki_type SIN
11 years ago
test.Peer.js
adding few tests for Peer.js
11 years ago
test.PeerManager.js
add test for config extending properly
11 years ago
test.Point.js
Move BigNumber to internal
11 years ago
test.PrivateKey.js
add test for .isValid() function
11 years ago
test.RpcClient.js
support soop with browser all test passing
11 years ago
test.SIN.js
support soop with browser all test passing
11 years ago
test.SINKey.js
support soop with browser all test passing
11 years ago
test.Script.js
rm console.log
11 years ago
test.ScriptInterpreter.js
fix test code for Transaction. Test skipped because they still fail
11 years ago
test.SecureRandom.js
iterate array correctly so that random number is actually used in signing
11 years ago
test.Transaction.js
add normalized hash for Txs
11 years ago
test.TransactionBuilder.js
Resolves #373
11 years ago
test.VersionedData.js
support soop with browser all test passing
11 years ago
test.Wallet.js
support soop with browser all test passing
11 years ago
test.WalletKey.js
remove PeerManager exception, no necesary anymore
11 years ago
test.basic.js
network refactors
11 years ago
test.examples.js
add ECIES example
11 years ago
test.main.js
support soop with browser all test passing
11 years ago
test.misc.js
rename BIP32 -> HierarchicalKey, deprecate BIP32
11 years ago
test.random.js
skip statistically failing tests
11 years ago
test.sighash.js
fixed 23 Transaction tests!!! :D
11 years ago
test.util.js
add test to confirm correctness of sha512hmac
11 years ago
testdata.js
adding new data file from bitcoin core
11 years ago