AutoHotkey Community

It is currently May 25th, 2012, 5:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: May 16th, 2007, 9:22 am 
Offline

Joined: May 14th, 2007, 6:39 am
Posts: 8
Hi all

I am looking for way to Encrypt password in php (like hash or somthing) and Dycrypt it in AutoHotKey?

Any idea?

Thanx
DrCode


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 9:39 am 
The "or somthing" is fuzzy...
I might be wrong, but most password encryption schemes, even more those based on hash, cannot be decrypted. It is essential when you have no encryption key and you have access to the source...
The way it works is to store the encrypted password in the database, and when user inputs his password, it is encrypted too, and result of both encryptions is compared: if equal, then given password is OK.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 4:52 pm 
Offline

Joined: April 9th, 2007, 4:43 pm
Posts: 172
An easy and not very secure way:
Caesar encryption, and then save it as ASCII-Code ("100" instead of "d").
DOWNLOAD

_________________
COMPLETELY INACTIVE - I do not use AHK anymore.


Last edited by John W on May 31st, 2007, 4:45 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 5:12 pm 
Ah, if he wants custom encryption, searching the forum should provide lot of solutions, more reliable that Caesar's one (why not ROT13, while you are at it? :-))


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 5:29 pm 
Offline

Joined: April 9th, 2007, 4:43 pm
Posts: 172
Every rotation level is possible with my script. You can also make it to binary or hex code.

_________________
COMPLETELY INACTIVE - I do not use AHK anymore.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 5:42 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
There are both SHA and MD5 functions in ahk. If you're encrypting in PHP I think you'll need to use $raw_output = true.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Cerberus, Sambo, tommy, Yahoo [Bot] and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group