Record Class HashForFilesOutput
java.lang.Object
java.lang.Record
lib.pwss.hash.model.HashForFilesOutput
- Record Components:
file- The original file that was hashed.sha256- The SHA-256 hash value of the file.sha3- The SHA-3 (256) hash value of the file.blake2- The BLAKE2b hash value of the file.
-
Constructor Summary
ConstructorsConstructorDescriptionHashForFilesOutput(File file, String sha256, String sha3, String blake2) Creates an instance of aHashForFilesOutputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionblake2()Returns the value of theblake2record component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.sha256()Returns the value of thesha256record component.sha3()Returns the value of thesha3record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
file
-
sha256
-
sha3
-
blake2
-