Amogh Margoor created IMPALA-10729:
--------------------------------------

             Summary: Impala Doc: Document SHA1 and SHA2 functions introduced 
in IMPALA-10679 
                 Key: IMPALA-10729
                 URL: https://issues.apache.org/jira/browse/IMPALA-10729
             Project: IMPALA
          Issue Type: Bug
            Reporter: Amogh Margoor


IMPALA-10679 introduced SHA1 and SHA2 functions specifically - SHA224, SHA256,
SHA384 and SHA512 which needs to be documented.

1. In FIPS mode SHA1, SHA224 and SHA256 will throw error.
2. Sha1(s) will take string as argument. If argument is null, it will return 
null else Sha1 digest.
3. SHA2(s, bit_length) - takes string s and integer bit_length. Supported 
bit_length are 224, 256, 384 and 512. On passing unsupported bit length error 
will be thrown. If either argument is null, then null will be returned.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to