Package org.ldk.structs
Class Sha256
- java.lang.Object
-
- org.ldk.structs.Sha256
-
public class Sha256 extends Object
SHA-256 hash
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sha256
clone()
Creates a copy of the Sha256boolean
eq(Sha256 b)
Checks if two Sha256s contain equal inner contents.protected void
finalize()
long
hash()
Checks if two Sha256s contain equal inner contents.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
hash
public long hash()
Checks if two Sha256s contain equal inner contents.
-
eq
public boolean eq(Sha256 b)
Checks if two Sha256s contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
-
-