Java MD5 md5Init()

Here you can find the source of md5Init()

Description

md Init

License

Open Source License

Declaration

private static void md5Init() 

Method Source Code

//package com.java2s;

public class Main {
    private static long[] state = new long[4];
    private static long[] count = new long[2];

    private static void md5Init() {
        count[0] = 0L;/*from www.  j a  v  a 2 s  .c o  m*/
        count[1] = 0L;
        // /* Load magic initialization constants.

        state[0] = 0x67452301L;
        state[1] = 0xefcdab89L;
        state[2] = 0x98badcfeL;
        state[3] = 0x10325476L;

        return;
    }
}

Related

  1. md5Encode(byte[] content)
  2. md5Encode(String strIn)
  3. md5HashByteToString(byte[] bytes)
  4. md5HashStringToByte(String hash)
  5. md5Hex(final String text)
  6. md5Memcpy(byte[] output, byte[] input, int outpos, int inpos, int len)
  7. md5ToHex(byte[] hash)
  8. md5ToString(byte[] md5sum)
  9. md5Update(byte[] inbuf, int inputLen)