public class ChecksumCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_OF_SHA256 |
| Constructor and Description |
|---|
ChecksumCalculator() |
| Modifier and Type | Method and Description |
|---|---|
static ChecksumCalculator |
getInstance() |
String |
md5(byte[] input)
Deprecated.
use
sha256(byte[]) |
String |
md5(String input)
Deprecated.
use
sha256(String) |
String |
sha256(byte[] input) |
String |
sha256(String input) |
public static final int LENGTH_OF_SHA256
public static ChecksumCalculator getInstance()
public String sha256(byte[] input)
@Deprecated public String md5(String input)
sha256(String)input - string to hash@Deprecated public String md5(byte[] input)
sha256(byte[])input - bytes to hashCopyright © 2019 ReTest GmbH. All rights reserved.