The documents say that "KEYTYPE" is Text or Hex... Not "KEY"

I think you need to change that Key attribute to KeyType and add another Key attribute with your actual blowfish key to use in the encryption. Since you're using KeyType="Text" I believe you will need a 16 byte Key.


<@Assign NAME="request$SSN" VALUE="<@Cipher Action='encrypt' Type='Blowfish' Str='<@ARG SSN>' KeyType='Text' Key='ABCDEFGHIJ123456' Encoding='none'>">




/John



Dan Stein wrote:


<@Assign NAME="request$SSN" VALUE="<@Cipher Action='encrypt' Type='Blowfish'
Str='<@ARG SSN>' Key='Text' Encoding='none'>">

@@request$SSN

Returns the error
Specified key is not valid for this cipher.

I tried key Hex also same result. Documents say key type is text or hex.

What don't I get?





________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to