We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93b815c + c3edc99 commit c3eefbeCopy full SHA for c3eefbe
test/integration/addresses.js
@@ -22,7 +22,8 @@ describe('bitcoinjs-lib (addresses)', function () {
22
23
var keyPair = new bitcoin.ECPair(d)
24
var address = keyPair.getAddress()
25
-
+ // Generating addresses from SHA256 hashes is not secure if the input to the hash function is predictable
26
+ // Do not use with predictable inputs
27
assert.strictEqual(address, '1C7zdTfnkzmr13HfA2vNm5SJYRK6nEKyq8')
28
})
29
0 commit comments