forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDSCRYPT.DLL - TWOFISH Tip

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
cnodnarb
Valued Contributor
Valued Contributor


Joined: 11 Sep 2002
Posts: 641
Location: Evansville, IN

PostPosted: Sat May 14, 2011 7:27 pm    Post subject: VDSCRYPT.DLL - TWOFISH Tip Reply with quote

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)
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group