Class Blake2b


  • public class Blake2b
    extends java.lang.Object
    Blake2 Hash helper class
    Since:
    0.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Blake2b()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] digest​(byte[] input, int length)
      returns a Blake2b Hash of size length in bytes
      • Methods inherited from class java.lang.Object

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

      • Blake2b

        public Blake2b()
    • Method Detail

      • digest

        public static byte[] digest​(byte[] input,
                                    int length)
        returns a Blake2b Hash of size length in bytes
        Parameters:
        input - byte array to hash
        length - desired output length in bytes
        Returns:
        a byte array of size 'length' bytes