Does anyone know of a way to encrypt a string and output it as x number of characters? I need it to always return the same number of characters. I know MD5 always returns it as 32 characters. I'd like for it to return less that that, maybe 20 or 24 (the number has to be divisible by 4). And I'd like to be able to decrypt it. I can't figure out how to do it.
Can anyone give me suggestions?