Never mind I think I took stupid pills this morning. I was decoding the
<@ARG> instead of the @@request.

on 12/17/03 10:43, Dan Stein at [EMAIL PROTECTED] wrote:

> That seems to work but the decrypt does not return the values that I put in.
> Shouldn't it decrypt back out to the numbers again?
> 
> on 12/17/03 10:22, John McGowan at [EMAIL PROTECTED] wrote:
> 
>> 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
>> 

-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


    "When you are born, you cry and those who love you rejoice.  And if you
live your life as you should, when you die, you rejoice and those who
love you cry."

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

Reply via email to