Commit Graph

5 Commits

Author SHA1 Message Date
Ryan X. Charles
75d2d0d390 fix issues with ConnectionTor example and Connection class 2014-04-22 22:28:31 -03:00
Ryan X. Charles
ba692aaa20 add new SecureRandom class that does the right thing
Generating random numbers properly depends on the platform. The new
getRandomBuffer method does the right thing on the right platform. It will
sometimes fail due to insufficient entropy. The getPseudoRandomBuffer class is
also provided that will never fail, but it is not cryptographically secure and
should not be used for keys.
2014-04-22 22:18:59 -03:00
Eric Martindale
0ae2fc73ab Merge branch 'master' of github.com:bitpay/bitcore into clean
Conflicts:
	examples/PeerManager.js
	examples/SendTx.js
	lib/Connection.js
	lib/PeerManager.js
2014-04-17 16:38:30 -04:00
Eric Martindale
a2d616da5b Project reorganization. 2014-04-13 13:28:42 -07:00
Eric Martindale
f3b1c2d292 Cleanup main directory. 2014-04-13 13:14:27 -07:00