Hi!
I was wondering if someone could help me out on a
crypto-related question;
I want to encrypt short strings (passwords, actually)
and be able to decrypt them later.
I only have access to Perl, and its MD5 and crypt (3des?),
and do not want to rely on any non-standard Perl modules.
To just use the passphrase and create a md5 digest, and
XOR that with the cleartext strings would work, I guess,
but it feels like that would introduce some waknesses...
I guess I could make a digest out of the first digest and so on
until I have a long enough string to XOR all the short strings,
but I need random access to the strings....
Could a salt help?
Anyone done this before?
TIA
/magnus
S/MIME Cryptographic Signature