Class MessageDigest


  • public class MessageDigest
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] doFinal()  
      byte[] doFinal​(byte[] last)  
      byte[] doFinal​(byte[] last, int offset, int len)  
      static MessageDigest getInstance​(java.lang.String algoName)  
      void update​(byte[] input)  
      void update​(byte[] input, int offset, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static MessageDigest getInstance​(java.lang.String algoName)
                                         throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
      • update

        public void update​(byte[] input,
                           int offset,
                           int len)
      • update

        public void update​(byte[] input)
      • doFinal

        public byte[] doFinal()
      • doFinal

        public byte[] doFinal​(byte[] last)
      • doFinal

        public byte[] doFinal​(byte[] last,
                              int offset,
                              int len)