MD5 Encryption Using Java
Demonstrates how to encrypt a string using the MD5 algorithm in Java. Since MD5 is non-reversable, there is no code for decrypting the value.
|
On Saturday, April 19th 2008 at 01:08 AM By Andrei Pociu (View Profile)
    (Rated 0 with 0 votes) |
Contextual Ads
More Java Resources
Advertisement
import java.math.*;
import java.security.*;
String toEnc = "Encrypt This!"; // Value to encrypt
mdEnc.update(toEnc.getBytes(), 0, toEnc.length());
|
Digg It!
Del.icio.us
Reddit
StumbleIt
Newsvine
Furl
BlinkList
|
|
Rate this code snippet
Current Comments
There are no comments.
|
Related Source Code
There is no related code.
Related Tutorials
There are no related tutorials.
Java Job Search
|