@@ -0,0 +1,1553 @@
+import java.security.MessageDigest;%0Aimport java.security.NoSuchAlgorithmException;%0Aimport java.util.Scanner;%0Aimport javax.xml.bind.annotation.adapters.HexB%0A%0Apublic class MD5%7B%0A        %0A        public static void main(String args%5B%5D)%7B%0A%0A                //Create instance Scanner for input %0A                Scanner scan = new%0A                Scanner(System.in);  %0A                //Convert text in HASH%0A                System.out.print(%22String for hash code: %22);%0A                String text = scan.nextLine();%0A                %0A                scan.close();%0A                %0A                try%7B%0A                    //MessageDigest for MD5 algorithm %0A                    MessageDigest md = MessageDigest.getInstance(%22MD5%22);%0A                    %0A                    //HexBinaryAdapter%0A                    HexBinaryAdapter hba = new HexBinaryAdapter();%0A                    %0A                    //%0A                    byte%5B%5D textBytes = text.getBytes();%0A                    %0A                    //digest Bytes%0A                    byte%5B%5D digestBytes = md.digest(textBytes);%0A                    %0A                    //HexBinaryAdapter for marshalling into hex%0A                    String hash = hba.marshal(digestBytes);%0A                    %0A                    //Result%0A                    System.out.println(%22Hex HASH: %22 + hash);%0A                %7D%0A                    catch (NoSuchAlgorithmException e)%7B%0A                        e.printStackTrace();%0A                        System.out.println(%22MD5 algorithm not found.%22);%0A                    %7D%0A                %7D%0A%7D%0A

Create security_md5.java