/    Sign up×
Community /Pin to ProfileBookmark

encryption with md5?

i have few quesions :
1) is it possible at all to decrypt an md5 encryption? if yes then how?
2)can i encrypt using my own key?
thnaks in advance
peleg

to post a comment
PHP

8 Comments(s)

Copy linkTweet thisAlerts:
@solavarJul 16.2004 — I have just started using MD5 myself.

I believe the encryption is strictly one way. As for using your own key, I'll leave that to the experts.
Copy linkTweet thisAlerts:
@AdamGundryJul 16.2004 — MD5 is a message digest (hashing) algorithm, not an encryption algorithm - it is not possible to decrypt it. What do you mean by point 2? MD5 doesn't use a key.

Adam
Copy linkTweet thisAlerts:
@NevermoreJul 16.2004 — While it isn't possible to decrypt it, MD5 hashes can be broken by brute force.
Copy linkTweet thisAlerts:
@ermauJul 16.2004 — [i]Originally posted by cijori [/i]

[B]While it isn't possible to decrypt it, MD5 hashes can be broken by brute force. [/B][/QUOTE]


This is very true, and while not normally a problem, I know that recently a web site has been put up that you can submit MD5 passwords to and they'll brute-force them and return the original string to you in a couple days. It may be wise to start double-encrypting md5 passwords ( $password = md5(md5($enteredPassword)); )
Copy linkTweet thisAlerts:
@NevermoreJul 16.2004 — [i]Originally posted by ermau [/i]

[B]This is very true, and while not normally a problem, I know that recently a web site has been put up that you can submit MD5 passwords to and they'll brute-force them and return the original string to you in a couple days. It may be wise to start double-encrypting md5 passwords ( $password = md5(md5($enteredPassword)); ) [/B][/QUOTE]


I'm not sure that's exactly necessary - as long as people choose sensible passwords the forcing will take too long to be viable.
Copy linkTweet thisAlerts:
@ShrineDesignsJul 16.2004 — in a way that's kinda scary
Copy linkTweet thisAlerts:
@AdamGundryJul 17.2004 — [i]Originally posted by cijori [/i]

[B]I'm not sure that's exactly necessary - as long as people choose sensible passwords the forcing will take too long to be viable. [/B][/QUOTE]
I agree, but if you are really concerned you can always use SHA-1 which returns a 160-or-more bit hash instead of a 128bit hash like MD5 so is even less susceptible to attacks.

On most websites, the password hashing algorithm is probably not the weakest link in the security setup by a long way, as long as you use a reasonable algorithm such as MD5 or SHA-1.

Adam
Copy linkTweet thisAlerts:
@pelegk1authorJul 18.2004 — what i meant is :

AdamGundry -> im meant an encryption code using a key for encrypting

ermau-> can u reffer us to the website?
×

Success!

Help @pelegk1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...