Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Describe/implement appropriate format for entropy in documentation/code #19

Closed
professorhantzen opened this issue Apr 29, 2017 · 3 comments

Comments

@professorhantzen
Copy link

professorhantzen commented Apr 29, 2017

The documentation states entropy must be "at least" 16 bytes long, suggesting longer arrays will be accepted and utilised. However, the code truncates supplied arrays of length>16 to the first 16 bytes, without returning an error.

Which is the correct behaviour?

As it stands, the module may be supplied with a large array of entropy in good faith, only to have this reduced to the first 16 bytes without notification. A user of the module may be lead to believe seeds are being generated with a greater amount of entropy than is in fact taking place.

@professorhantzen
Copy link
Author

My bad.

@N3TC4T
Copy link

N3TC4T commented Mar 24, 2018

Hey guys

Any update on this ?

is there any way for using more than 16 character length for entropy ?

@sublimator
Copy link
Contributor

sublimator commented Mar 25, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants