7 Commits

Author SHA1 Message Date
Liamsi
3477dd7a90 safer PRNG seeding: hash concatenation of fresh seedBytes with current seedBytes 2018-05-09 15:04:51 +01:00
Emmanuel Odeke
62115b55ef
CRandHex: fix up doc to mention length of digits
The previous doc seemed misleading and was out of date i.e.
RandHex(24)
not
CRandHex.

Anyways provide a doc of what the function does in relation to
the length of digits of the hex value returned i.e.
  floor(numDigits / 2) * 2
so the even lowest number
  e.g:
  * len(CRandHex(5)) = 4
  * len(CRandHex(4)) = 4
2017-12-22 23:16:34 -07:00
Ethan Frey
9016390a6e Moved crypto code to top level again 2017-04-19 16:55:15 +02:00
Ethan Frey
17ed6d178d move go-crypto files pre-keys merge 2017-04-19 16:51:29 +02:00
Ethan Buchman
8bb25ec5ed update paths 2017-04-18 18:17:02 -04:00
Jae Kwon
f59fe0c8e0 s/Seed/MixEntropy/g 2016-03-13 10:14:24 -07:00
Jae Kwon
264d2a3eef Add seed-able cryptographic random. 2016-03-13 09:40:15 -07:00