473,625 Members | 3,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Encrypt Password Using MD5

250 Contributor
I want to encrypt password using md5 method in javascript. This is my code and I didn't get any answer. Please help me..

Expand|Select|Wrap|Line Numbers
  1. var p = document.getElementById('Password').value;
  2. alert(p);// this part working
  3. var temp = MD5(p);
  4. alert(temp);//this is not working
  5.  
Sep 8 '11 #1
2 2540
Dormilich
8,658 Recognized Expert Moderator Expert
you would have to define the MD5() function, otherwise you get a script error (undefined function MD5())
Sep 8 '11 #2
Rabbit
12,516 Recognized Expert Moderator MVP
Also, MD5 is a one way algorithm.
Sep 8 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
7262
by: Siddharth Jain | last post by:
hello I am trying to enumerate the shared folders on a server using the NetShareEnum function. Now, when the server has a password set to access the shared folders, the function returns system error code 5 (access denied). However, if I know the password to access the shares, how can I specify that in my program?
2
3174
by: fineman | last post by:
Hi all, I want to get a 64bit(8 bytes) Encrypt result use DES class in the VS2005. Though I encrypt data is 64bit(8 bytes), but DES return encrypt result that always is 128bit(16 bytes), I don't know why? How to get a 64bit(8 bytes) encrypt result using DES class in the VS2005?
2
1410
by: venki0110 | last post by:
i want to encript my password before loading into database in registration form plz send code or how to do this in asp.net with vb.net
0
1335
by: ankur899 | last post by:
Hi, Can anybody tell me how to crack MS - Access Password using C#. I developed d similar thing applying brute force. but thats nt a good technique, there are several software available in d market which retrives d password within a fraction of second. probably there is some info hidden in mdb file can u help me extracting that
0
1116
by: johnathp | last post by:
hi there, I am trying to reset a password using this code snippet and it worked fine but only one concern I have is that, I need to let the user know if he has used a old password wrong. if the user sends a wrong password for resetting I would like to send an exception with error message stating that the old password is not correct. May be some way to allow the user to login to the box with this old password. (is that the correct way). I also...
1
1846
by: Sharmistha Mukherjee | last post by:
I am trying to open my emailaccount. I am using a button on Access form to follow the hyperlink that brings up the dialogue box. How can I autofill username and password using VBA ?
2
10284
by: ghjk | last post by:
I have to develop a web application using JSP. I'm new to JSP. Could some one tell me how to encrypt password using JSP. I know php.
6
4325
by: Matt Rose | last post by:
Update a MYSQL db password using crypt() technology on MYSQL connection. I am looking to update a user table of passwords that were inserted without using crypt() on a Perl development project. I am using MYSQL to connect to the database and I need to update the passwords to be encrypted using the same method as the website process. How do I update? I got this far: UPDATE users SET Password =
0
8259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8192
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7188
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4195
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.