Sign in to follow this  
Followers 0
Daniel W.

_Encrypt

4 posts in this topic

#1 ·  Posted (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
;
;===============================================================================
;

Download

Regards , Daniel W.

Edited 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]

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0