Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having multiple ink blots to improve entropy #8

Open
DonaldTsang opened this issue Sep 11, 2018 · 6 comments
Open

Having multiple ink blots to improve entropy #8

DonaldTsang opened this issue Sep 11, 2018 · 6 comments

Comments

@DonaldTsang
Copy link

DonaldTsang commented Sep 11, 2018

Is it possible to split the hash into multiple parts and distribute it to different inkblots (possibly a 2x4 or 3x3 grid for 8 blots)?
Also is it possible to overlay one inkblot on top of another with different colored layers?

@DonaldTsang
Copy link
Author

Other ways of improvements include having polygons like http://yuvadm.github.io/polyhash/ or colored checkered background like https://github.com/solosodium/colorful-hash ?

@stuartpb
Copy link
Owner

stuartpb commented Oct 3, 2018

Funny you should mention that: I actually created hashsplat a couple months ago, which works exactly like you're describing - it takes the bits of a SHA256 sum (or any other 64-byte hash) and overlays them as three variable-color hashblots (the first 60 bytes defining the blot paths, then the remaining 4 defining the colors).

That page currently just shows what hashsplats would look like using random data, because I made it to test the overall aesthetic of the algorithm's output for 256-bit hashes in general - I know what I want the actual SHA2 UI to look like, I just haven't gotten around to throwing it in yet (I think I got sidetracked somewhere around the point where I was looking at what an appropriate factorization for an ES module in 2018 should be).

Once I hook up the demo plumbing on hashsplat.com, I've been planning on publishing a writeup about all this crypto-adjacent stuff I've been working on (Hashblot, Hashsplat, the Gross Simplification algorithm from surpass, NilPass, Alphabinary, and Mixalog, an idea I've yet to write about anywhere, even in barfspace) for a while, and I think what I really need to get that writeup out the door is a producer, if anybody might be interested in taking that on.

@DonaldTsang
Copy link
Author

DonaldTsang commented Oct 3, 2018

@stuartpb what about containing all 256/384/512 bits of SHA2/BLAKE(2)/SHA3 hashes? Or even 8~1024 bit hashes for Skein or KangarooTwelve or SHAKE or BLAKE(2)-XOF?
Perhaps the inkblots can have less overlaps and less entropy, such that even near-miss hashes can be spotted? And by compensation, have multiple separate inkblots with pixel backgrounds?

@DonaldTsang
Copy link
Author

DonaldTsang commented Oct 3, 2018

@DonaldTsang
Copy link
Author

Also adding https://github.com/ea7ababe/identicon and https://github.com/dakridge/identicon to the mix would be a good idea for circular variations

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

No branches or pull requests

2 participants