Package org.signal.libsignal.crypto
Class CryptographicHash
- java.lang.Object
-
- org.signal.libsignal.crypto.CryptographicHash
-
- All Implemented Interfaces:
NativeHandleGuard.Owner
public class CryptographicHash extends java.lang.Object implements NativeHandleGuard.Owner
-
-
Constructor Summary
Constructors Constructor Description CryptographicHash(java.lang.String algo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()byte[]finish()longunsafeNativeHandleWithoutGuard()voidupdate(byte[] input)voidupdate(byte[] input, int offset, int len)
-
-
-
Method Detail
-
unsafeNativeHandleWithoutGuard
public long unsafeNativeHandleWithoutGuard()
- Specified by:
unsafeNativeHandleWithoutGuardin interfaceNativeHandleGuard.Owner
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
update
public void update(byte[] input, int offset, int len)
-
update
public void update(byte[] input)
-
finish
public byte[] finish()
-
-