I'm playing around with the <@CIPHER> tag and doing some research on the use
of encryption. I want to be able to store encrypted data and retrieve it so
using HASH won't work. What I've read indicates that OneTimePad is really
the only secure way but I haven't been able to get it to work. My attempts
just return the same string. The code I've tried is:

<@ASSIGN NAME="l_testcypher" VALUE='<@CIPHER TYPE=OneTimePad ACTION=encrypt
STR="<@ARG cardnumber>" KEY='k'>' SCOPE="LOCAL">

I'm pretty sure my problem is the KEY attribute, I understood that the ASCII
value of whatever was put into that attribute becomes the offset.

Any ideas on what I'm doing wrong?

Thanks,

Steve Smith

Skadt Information Solutions
Office: (519) 624-4388
GTA:    (416) 606-3885
Fax:    (519) 624-3353
Cell:   (416) 606-3885
Email:  [EMAIL PROTECTED]
Web:    http://www.skadt.com

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to