Class SHA1Hasher.DigestImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.security.MessageDigest md  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DigestImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] calculateHash​(byte[] bytes)  
      byte[] calculateHash​(java.nio.ByteBuffer buffer)  
      byte[] getDigest()  
      void update​(byte[] data)  
      void update​(byte[] data, int pos, int len)  
      • Methods inherited from class java.lang.Object

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

      • md

        private final java.security.MessageDigest md
    • Constructor Detail

      • DigestImpl

        private DigestImpl()
                    throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException