Class Sha256


  • public final class Sha256
    extends java.lang.Object
    Sha256 Hash helper class
    Since:
    0.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Sha256()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] digest​(byte[] input)
      returns a Sha 256 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

      • Sha256

        public Sha256()
    • Method Detail

      • digest

        public static byte[] digest​(byte[] input)
        returns a Sha 256 Hash of size length in bytes
        Parameters:
        input - byte array to hash
        Returns:
        a byte array of size 'length' bytes