Jamie Posted November 16, 2005 Share Posted November 16, 2005 Hi, Can anyone explain why the following code does not return 'JAMIE' and instead returns junk ? #include <String.au3> MsgBox( 0, "", _StringEncrypt( 0, "test", _StringEncrypt( 1, "test", "JAMIE", 1), 1) ); Thanks in advance, Jamie. Link to comment Share on other sites More sharing options...
BigDod Posted November 16, 2005 Share Posted November 16, 2005 Hi,Can anyone explain why the following code does not return 'JAMIE' and instead returns junk ?#include <String.au3> MsgBox( 0, "", _StringEncrypt( 0, "test", _StringEncrypt( 1, "test", "JAMIE", 1), 1) );Thanks in advance,Jamie.Try this#include <String.au3> $var = _StringEncrypt( 1, "test", "JAMIE") MsgBox( 0, "", _StringEncrypt( 0, $var, "JAMIE") )Remember JAMIE is the password not test Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
MHz Posted November 16, 2005 Share Posted November 16, 2005 (edited) #include <String.au3> MsgBox( 0, "", _StringEncrypt( 0, _StringEncrypt( 1, "test", "JAMIE", 1), "JAMIE", 1) ) Edit: Too quick, BigDod Edited November 16, 2005 by MHz Link to comment Share on other sites More sharing options...
Jamie Posted November 16, 2005 Author Share Posted November 16, 2005 Ah! Thanks guys; I got mixed up ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now