Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 12th, 2003, 03:45 PM
quantumpuppet quantumpuppet is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NY
Posts: 40 quantumpuppet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to quantumpuppet
Javascript & MD5 encryption

I want to encrypt a string with MD5 using Javascript. I have found two references, the first is

[js]
var encryptedstring=hex_md5("hello");
document.write(ecryptedstring);
[/js]

which doesn't work. The second is a massive javascript code located at

http://pajhome.org.uk/crypt/md5/index.html

which is quite impressive. Is there a simple Javascript md5() command similar to the PHP md5() command? If so, can you provide it with the correct syntax. Thanks.

Reply With Quote
  #2  
Old October 12th, 2003, 04:21 PM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Javascript & MD5 encryption

http://dev.krook.org/cipher.html

IS that something you want?

Reply With Quote
  #3  
Old October 12th, 2003, 05:43 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Javascript & MD5 encryption

Nope, this webpage calls another document (cipher.js) which is a long series of mathematical functions that alters a string into another encrypted string (according to the authors encryption scheme). I am looking for a single javascript command that returns the md5 checksum of a string - not extraneous pages of mathematical hex/binary rotations and conversions.

Reply With Quote
  #4  
Old October 12th, 2003, 06:04 PM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
RE: Javascript & MD5 encryption

There is no hash function implemented in JavaScript. You will have to use that external js file.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Javascript & MD5 encryption


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT