Java MD5 newMd5()

Here you can find the source of newMd5()

Description

new Md

License

Open Source License

Declaration

private static MessageDigest newMd5() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

public class Main {
    /**//from   w  w  w .ja v  a 2 s. c  o  m
     *
     */
    private static MessageDigest newMd5() {
        try {
            return MessageDigest.getInstance("md5");
        } catch (NoSuchAlgorithmException ex) {
            return null;
        }
    }
}

Related

  1. md5Init()
  2. md5Memcpy(byte[] output, byte[] input, int outpos, int inpos, int len)
  3. md5ToHex(byte[] hash)
  4. md5ToString(byte[] md5sum)
  5. md5Update(byte[] inbuf, int inputLen)
  6. newMD5HashUri(String value)
  7. newMd5MessageDigest()
  8. validateMD5(String md5String)