| View previous topic :: View next topic |
| Author |
Message |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Mon May 09, 2011 8:10 pm Post subject: Help with @encrypt - SOLVED |
|
|
I'm releasing a beta software sometime soon that will use the @encrypt function. What is the maximum range of the optional numeric value parameter for VDS5?
(Don't worry, official release will use twofish encryption)
Last edited by cnodnarb on Mon May 09, 2011 9:08 pm; edited 1 time in total |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Mon May 09, 2011 8:29 pm Post subject: |
|
|
I thought that I heard/saw somewhere that it is only 4 characters, but I could be wrong. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Mon May 09, 2011 9:05 pm Post subject: |
|
|
Got it. If you want to know run this script
| Code: | %%en = 2
repeat
%A = Brandon
%%e2 = @encrypt(%A,%%en)
%%en = %%en"2"
if @ok()
%E = @encrypt(%A,%%en)
if @equal(%E,%%e2)
info %%en
info @pred(@len(%%en)) characters
stop
end
%D = @encrypt(%E,%%en)
rem info Orig. string:@tab()%A @cr()Encrypted:@tab()%E@cr()Decrypted:@tab()%D
end
until @not(@ok())
|
|
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Mon May 09, 2011 10:20 pm Post subject: |
|
|
| Unfortunately a @encrypt character ‰ is not compatible with my current solution. The beta will rely solely on my own encryption, which should be OK for a beta and I'll change my key and "decoder ring" before official release. Not only that but wrapping my encryption inside of TWOFISH should prove quite formidable upon official release. |
|
| Back to top |
|
 |
|