@AutoService(value=BeamBuiltinFunctionProvider.class) public class BuiltinHashFunctions extends BeamBuiltinFunctionProvider
| Constructor and Description | 
|---|
| BuiltinHashFunctions() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | md5Bytes(byte[] bytes)MD5(X) | 
| byte[] | md5String(java.lang.String str)MD5(X) | 
| byte[] | sha1Bytes(byte[] bytes)SHA1(X) | 
| byte[] | sha1String(java.lang.String str)SHA1(X) | 
| byte[] | sha256Bytes(byte[] bytes)SHA256(X) | 
| byte[] | sha256String(java.lang.String str)SHA256(X) | 
| byte[] | sha512Bytes(byte[] bytes)SHA512(X) | 
| byte[] | sha512String(java.lang.String str)SHA512(X) | 
getBuiltinMethodspublic byte[] md5String(java.lang.String str)
Calculates the MD5 digest and returns the value as a 16 element byte[].
public byte[] md5Bytes(byte[] bytes)
Calculates the MD5 digest and returns the value as a 16 element byte[].
public byte[] sha1String(java.lang.String str)
Calculates the SHA-1 digest and returns the value as a byte[].
public byte[] sha1Bytes(byte[] bytes)
Calculates the SHA-1 digest and returns the value as a byte[].
public byte[] sha256String(java.lang.String str)
Calculates the SHA-1 digest and returns the value as a byte[].
public byte[] sha256Bytes(byte[] bytes)
Calculates the SHA-1 digest and returns the value as a byte[].
public byte[] sha512String(java.lang.String str)
Calculates the SHA-1 digest and returns the value as a byte[].
public byte[] sha512Bytes(byte[] bytes)
Calculates the SHA-1 digest and returns the value as a byte[].