Package org.apache.drill.exec.udfs
Class CryptoFunctions
java.lang.Object
org.apache.drill.exec.udfs.CryptoFunctions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AES_DECRYPT() decrypts the encrypted string crypt_str using the key string key_str and returns the original cleartext string.static class
aes_encrypt()/ aes_decrypt(): implement encryption and decryption of data using the official AES (Advanced Encryption Standard) algorithm, previously known as "Rijndael." AES_ENCRYPT() encrypts the string str using the key string key_str and returns a binary string containing the encrypted output.static class
This class returns the md2 digest of a given input string.static class
This function returns the MD5 digest of a given input string.static class
sha() / sha1( ): Calculates an SHA-1 160-bit checksum for the string, as described in RFC 3174 (Secure Hash Algorithm). static class
sha2() / sha256( ): Calculates an SHA-2 256-bit checksum for the string. static class
This function returns the SHA384 digest of a given input string.static class
This function returns the SHA512 digest of a given input string. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
CryptoFunctions
public CryptoFunctions()
-