Package com.goterl.lazysodium.interfaces
Class GenericHash.State
java.lang.Object
com.goterl.lazysodium.interfaces.GenericHash.State
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing interface:
- GenericHash
State of a multi-part hashing operation. Allocates a small piece of native memory, so it is
Closeable,
as you might want to close it explicitly to free the allocated memory. (If not, it should be auto-freed by GC
as always.)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()com.sun.jna.PointerNative pointer to the state buffer (64-byte aligned).
-
Constructor Details
-
State
public State()
-
-
Method Details
-
getPointer
public com.sun.jna.Pointer getPointer()Native pointer to the state buffer (64-byte aligned). -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-