Class Digest.CheckSum

java.lang.Object
org.ek9lang.core.Digest.CheckSum
All Implemented Interfaces:
Serializable
Enclosing class:
Digest

public static final class Digest.CheckSum extends Object implements Serializable
A Checksum.
See Also:
  • Constructor Details

    • CheckSum

      public CheckSum(File sha256File)
      Load a checksum from a file.
    • CheckSum

      public CheckSum(byte[] checksum)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • saveToFile

      public void saveToFile(File sha256File)
      Just save this digest to a file.