javascript - hash and unhash text to 20 characters -
i have text 3-100 characters,
i want able hash 20 chars string,
and able unhash original.
- security not in mind, have string limit, need full string.
it's impossible.
if can compress 100-characters 20 , - can compress whole internet 20 bytes :)
all can - limit original alphabet , use extended hash.
example, source string can alphanumeric case. it's 62 character alphabet. hash used 256 byte values can compress source 4 times.
Comments
Post a Comment