cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Sat May 14, 2011 7:27 pm Post subject: VDSCRYPT.DLL - TWOFISH Tip |
|
|
The trailing "=" signs are not a part of the twofish cypher. They are returned due to a very short string.
It's OK to parse them out and your string still decodes properly.
Code: |
%%crypttext = @vdsencrypt(cryptstr,%%algorithm,%%iv,%%key,%%text)
option fieldsep,=
info %%crypttext
parse "%%crypttext;%%b",%%crypttext
info %%crypttext
rem decrypt the string
%%decrypttext = @vdsencrypt(decryptstr,%%algorithm,%%iv,%%key,%%crypttext)
|
|
|