Visual Hash Turns Text Or Data Into Abstract Art
Makoss writes "Normal cryptographic hash functions turn any input text or data into a compact set of bits; useful for computers, not useful for humans. Visual hash functions turn data into graphical representations which are more easily recognizable and memorable to humans. You've seen Identicons and other simple geometric image generators already, but Vash takes the technique beyond basic geometry and produces some really striking images."
Hash turns a lot of things into abstract art.
Is there any way to get the data back out again? or is it for visualization/differentiation?
Bruce Schneier just replaced his copy of Photoshop with /dev/random and a copy of Vash...
Well, to be secure, you'll want to hash your data with a standard hash algorithm, and then submit the hash to this "vash" thing. Who knows, it might actually be useful, once the actual hashing algorithm is separate from representation.
Forget magic. Any technology distinguishable from divine power is insufficiently advanced.
A sufficient quantity of hash will turn ANYTHING into abstract art, no?
Remember "News for Nerds, Stuff that Matters"? Help make it a reality again! http://soylentnews.org
This would be awesome for validating SSH keys. You could flash up an image instead of:
RSA key fingerprint is e2:1b:ec:de:3e:72:1a:9a:4e:82:a0:5f:8f:d3:01:af.
And it would be a much better indicator if the key had changed.
Turned my name into some overlapping and ugly gray shapes, turned my SO's name into a bright green square.
Huh. The AACS key in lower case and spaced with colons looks surprisingly nice.
On my droid, when I get a text message, before I unlock the screen, it shows part of the message. Would it be possible to create a picture representation of each different text message a cell phone gets, and display it on the unlock screen?
A lot of the examples look like something off of The Random Art Gallery.
If I have been able to see further than others, it is because I bought a pair of binoculars.
Gives new meaning to rainbow tables.....
I guess that business about short-term memory and age is not just superstition.
Apologies to anyone who chooses to be offended.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Full disclosure: I am the primary author (probably should have mentioned that before replying to other posts, whoops). I'll be watching the comment stream, if you have any questions.
Given a small enough input set, the output of a normal hash approaches 1-to-1. That is a problem.
Better, as you say, than what currently exists, but a problem, nonetheless.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
If you can read the code and compile it yourself (and it is short enough to understand, which it may be), you can be pretty sure that it doesn't harvest short inputs and phone home.
(If it doesn't, that is. I haven't read the source code, yet.)
Not to say that hashing a hash would necessarily be a bad thing for some applications, for instance, add some time to the brute-force approaches that short input become vulnerable to.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
No idea how useful it is going to be. One application I can see is feedback whether you typed in the right password/passphrase before it gets stored (to prevent giving one system the password for a different system). A second one is giving feedback about password/passphrase correctness, again before processing.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Since universal login is all the rage, the salt is going to have to be standardized somehow.
For applications like universal login, at any rate. (I truly wish the Mozilla group hadn't decided to put that siren in their boat.)
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
...is rather fitting.
What, you only get a total of ten different text messages?
(Or. I guess, maybe you're saying that the set of preview texts for the messages you get is weighted heavily to a small subset?)
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
I did a couple of things like this back in the mid-90's. One used iterated fractals. I think the original idea was by Ian Goldberg, and I added the coloring.
http://www.tastyrabbit.net/visprint/
But I wasn't satisified by the fact that lots of different hash values produced similar-looking images, so I also cooked up one that had a guarantee that a single-bit change in the hash led to at least a single-bit difference in the image, and came up with these snowflakes:
http://members.shaw.ca/dlakwi/snowflake/snowflake.html
Could be this is a better and slicker implementation than any of this stuff, but the underlying ideas are not quite new.
LILO boot: linux init=/usr/bin/emacs
From a quick look at the example hash images, it looks like the code is just randomly choosing placement, coloring and alpha levels of predefined graphic elements. For instance, almost every image I saw had an image of a flower-like object.
While this does make for unique and more pleasing-to-the-eye images, I doubt that humans would feel confident in picking out their unique hash among similar others. The graphical elements themselves would have to be generated via an algorithm for the images to feel truly unique ("feel" being determined by the limitations of human visual processing and pattern recognition abilities).
One of the potential uses listed on the Vash FAQ is to recognize changes in crytographic keys for security purposes. I don't know enough about how the code generates the images to know whether a minor change in the key would generate a completely different picture, or merely move over the flower a little to the left and change the red to a bit lighter hue. If the latter, most would be hard-pressed to spot any difference at a quick glance.
Perhaps having the algorithm also add a unique animation sequence would help make these visual representations more identifiable to users. If a flower's rotation suddenly goes from 6 RPM to 60 RPM, that would be a much quicker tipoff that something has changed.
Do the hashes turn out to be so predictable as to make it computationally trivial to change an input text in non-obvious ways and produce a cryptographic hash visually near the real hash?
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Vash makes extensive use of structure, intensity, and position in its image generation. Despite its visually striking and distinctive impact, color plays only a small role in differentiating between Vash images.
Try 3.1415 and 3.1415926535897932
Suppose Alice memorizes her server ssh key fingerprint using Vash. How hard is it for an attacker to come up with another key having a _similar_ Vash that can spoff Alice?
How did you find those would be so close? Did you just randomly choose to try pi and then add digits? Did you see radial symmetry and decide to plug that in?
I'll try to put together some specific thoughts on *why* I think VisualIDs did it better, and what the issues with Vash are, in the morning. For the time being, I guess I'll just throw that out there as a conversation-seed and let people Google it....
-rozzin.
What prevents simple copy of the image? Need to store as visual descriptions of the hash, then verifier confirms the hash looks like the description. E.g., software measurement in a Tpm.
Not too encouraging that the second word I input resulted in a plain blue image. Suggests a not-too-diverse result set. Either that or I'm just incredibly skilled at finding dull output.
http://unicornify.appspot.com/
It's disheartening to see something which I voted down on the Firehose as an obvious slashvertisement appear anyway. Will the "Understanding Mormonism" and link to an ad farm spam show up too?
Yet Another Tech Blog
(but so much more, including game and movie reviews)
http://yanteb.peasantoid.org
Looks like a Vashslertisement.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."