in reply to Re: I need some simple encryption.
in thread I need some simple encryption.

md5 and sha-1 are hashing algorithms (unrecoverable), not cryptographic algorithms (decryptable). They produce a small digest which would be very difficult or improbable to reproduce with different content. You can't get your original data back. They're useful for verifying data in two places is the same data, including in crypto situations, but they aren't a protection for the data.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^3: I need some simple encryption.
by PodMaster (Abbot) on Aug 26, 2004 at 13:55 UTC
    Yes, md5 and sha-1 are hashing algorithms :)(thanks)

    Anyway, my point is use the CPAN. CPAN has implementation of many cryptographics algorithms. I picked one (rijndael) and googled for rijndael javascript and and found a javascript implementation.

    Anyway, if I were the op, I would configure my server to not allow HTTP access to that program (only HTTPS).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.