You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/05/07 19:35:00 UTC

[jira] [Created] (HIVE-10644) create SHA2 UDF

Alexander Pivovarov created HIVE-10644:
------------------------------------------

             Summary: create SHA2 UDF
                 Key: HIVE-10644
                 URL: https://issues.apache.org/jira/browse/HIVE-10644
             Project: Hive
          Issue Type: Improvement
          Components: UDF
            Reporter: Alexander Pivovarov
            Assignee: Alexander Pivovarov


Calculates the SHA-2 family of hash functions (SHA-224, SHA-256, SHA-384, and SHA-512). The first argument is the cleartext string to be hashed. The second argument indicates the desired bit length of the result, which must have a value of 224, 256, 384, 512, or 0 (which is equivalent to 256). If either argument is NULL or the hash length is not one of the permitted values, the return value is NULL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)