- digest
Read through an InputStream and returns the digest for the data
- getBytesUtf8
- getDigest
Returns a MessageDigest for the given algorithm.
- getMd5Digest
Returns an MD5 MessageDigest.
- getSha256Digest
Returns an SHA-256 digest. Throws a RuntimeException on JRE versions prior to 1.4.0.
- getSha384Digest
Returns an SHA-384 digest. Throws a RuntimeException on JRE versions prior to 1.4.0.
- getSha512Digest
Returns an SHA-512 digest. Throws a RuntimeException on JRE versions prior to 1.4.0.
- getShaDigest
Returns an SHA-1 digest.
- md5
Calculates the MD5 digest and returns the value as a 16 element byte[].
- md5Base64
Calculates the MD5 digest and returns the value as a base64 string.
- md5Hex
Calculates the MD5 digest and returns the value as a 32 character hex string.
- sha
Calculates the SHA-1 digest and returns the value as a byte[].