Jump to content



Photo

_Encrypt


  • Please log in to reply
3 replies to this topic

#1 Daniel W.

Daniel W.

    I hacked 127.0.0.1 !!!

  • Active Members
  • PipPipPipPipPipPip
  • 434 posts

Posted 01 January 2007 - 02:02 PM

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 ; ;=============================================================================== ;


Download

Regards , Daniel W.

Edited by Daniel W., 01 January 2007 - 02:04 PM.

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------

Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.






#2 Achilles

Achilles

    Achilles == Ichigo

  • Active Members
  • PipPipPipPipPipPip
  • 2,897 posts

Posted 02 January 2007 - 02:15 AM

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?

#3 Daniel W.

Daniel W.

    I hacked 127.0.0.1 !!!

  • Active Members
  • PipPipPipPipPipPip
  • 434 posts

Posted 02 January 2007 - 02:12 PM

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* --------------------------------------------------------------------------------------------------------------------------------

Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.


#4 feng

feng

    Seeker

  • New Members
  • 1 posts

Posted 04 January 2007 - 03:17 AM

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 :P
.....................................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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users