Daniel W. Posted January 1, 2007 Share Posted January 1, 2007 (edited) Hi,i wrote my own encrypt function. ;=============================================================================== ; ; Function Name: _Encrypt( $aString, $aPW ,$aMode = 1 ) ; Description:: Function to en- decrypt strings ; Parameter(s): $aString = String to encrypt ; $aPW = Password ; $aMode = 1 for encrypt, 0 for decrypt ; Requirement(s): None ; Return Value(s): en- decrypted string ; Author(s): Daniel Wahlmann ; ;=============================================================================== ;;=============================================================================== ; ; Function Name: _EncryptFile( $aFile, $aPW ,$aMode = 1 ) ; Description:: Function to en- decrypt files ; Parameter(s): $aFile = file to encrypt/decrypt ; $aPW = Password ; $aMode = 1 for encrypt, 0 for decrypt ; Requirement(s): File.au3 ; Return Value(s): Success 1 ; Failure 0 ; Author(s): Daniel Wahlmann ; ;=============================================================================== ;DownloadRegards , Daniel W. Edited January 1, 2007 by Daniel W. --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
Achilles Posted January 2, 2007 Share Posted January 2, 2007 Hi,i wrote my own encrypt function. Regards , Daniel W.Isn't this just a simple version of the _Encrypt in the String.au3 file under the Include folder? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Daniel W. Posted January 2, 2007 Author Share Posted January 2, 2007 Hi, it is a function which may uses similar ways to encrypt, but which doesn't have the same output. Regards --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
feng Posted January 4, 2007 Share Posted January 4, 2007 Hi, I meet problems when use your encrypt function to encrypt the following string: 2006/12/25|0|45|0|0|0|0|0|0 2006/12/26|0|45|0|0|0|0|0|0 2006/12/28|0|0|0|78|0|0|0|0 2006/12/28|0|0|0|0|0|0|0|0 2006/12/26|0|0|0|78|0|0|0|0 .....................................etc. MsgBox(0,"result",_Encrypt(_Encrypt("2006/12/25|0|45|0|0|0|0|0|0","jinfengawangpeng",1),"jinfengawangpeng",0)) The result is zero. It looks like a little bug. 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