by thewisedude · 13y ago · 0 comments
My one way function adds the values of each character, in case I apply it to 'america', it would be 1+13+5+18+9+3+1 => 50.
So, if somebody had to find the word from only from resultant sum or value, it would take time to come up with all the possible words.
Some of the possible candidates also include aameric, cmeriaa etc. Clearly in this case there are many possible words that map to a particular value or sum, in the good one way function there are not going to be as many words that map to one value, also a good one way function is more complicated(for a computer too or computer takes non polynomial time) than the one I chose!
No comments yet.