Package | Description |
---|---|
com.guardtime.ksi.hashing |
Classes to create and represent data hashes
|
Modifier and Type | Method and Description |
---|---|
DataHasher |
DataHasher.addData(byte[] data)
Adds data to the digest using the specified array of bytes, starting at an offset of 0.
|
DataHasher |
DataHasher.addData(byte[] data,
int offset,
int length)
Updates the digest using the specified array of bytes, starting at the specified offset.
|
DataHasher |
DataHasher.addData(DataHash dataHash)
Adds
DataHash.getImprint() to the digest. |
DataHasher |
DataHasher.addData(File file)
Adds data to the digest using the specified file, starting at the offset 0.
|
DataHasher |
DataHasher.addData(File file,
int bufferSize)
Adds data to the digest using the specified file, starting at the offset 0.
|
DataHasher |
DataHasher.addData(InputStream inStream)
Adds data to the digest using the specified input stream of bytes, starting at an offset of 0.
|
DataHasher |
DataHasher.addData(InputStream inStream,
int bufferSize)
Adds data to the digest using the specified input stream of bytes, starting at an offset of 0.
|
DataHasher |
DataHasher.reset()
Resets the hash calculation.
|
Copyright © 2024 Guardtime. All rights reserved.