Interface HASH

All Known Implementing Classes:
MD5, SHA1, SHA256, SHA384, SHA512

public interface HASH
  • Method Summary

    Modifier and Type Method Description
    byte[] digest()  
    int getBlockSize()  
    void init()  
    java.lang.String name()  
    void update​(byte[] foo, int start, int len)  
  • Method Details

    • init

      void init() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getBlockSize

      int getBlockSize()
    • update

      void update​(byte[] foo, int start, int len) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • digest

      byte[] digest() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • name

      java.lang.String name()