usnistgov / SP800-90B_EntropyAssessment

The SP800-90B_EntropyAssessment C++package implements the min-entropy assessment methods included in Special Publication 800-90B.
195 stars 88 forks source link

Input option for ascii (human readable) binary/hex data #215

Open chanudel opened 1 year ago

chanudel commented 1 year ago

Based on my own experience as well as other feedback I have seen from other issues I am proposing that the script be modified to accept human readable text files in an ascii-like binary/hex format. All of our data collection methods that we use in IBM result in data that is either humanly readable binary/hex data. Looking at the script it doesn't seem like that would be hard to implement. I think as long as you make your script robust enough to strip out newlines and flag invalid characters it should be easy to do.

joshuaehill commented 8 months ago

Modern version of this tool are implemented in C++ (more-or-less), so this tool isn't a script any longer. If you are still dealing with the python script version of this tool, that was an implementation of the 2016 draft of SP 800-90B, which is no longer current.

There are a wealth of conversion utilities available in Theseus , which is what I use for converting between various formats. If you don't find what you are looking for there, feel free to drop me a line, or describe what you are looking for as a Theseus issue.