GitHub user xwq opened a pull request: https://github.com/apache/incubator-trafodion/pull/849
[TRAFODION-2229]SHA2 function enhancement SHA2 support more funtcions than SHA-256. Now, it support SHA-224, SHA-256, SHA-384, SHA-512. SHA2(str, hash_length) The first argument is the string to be hashed. The second is the desired bit length of the result, which must have a value of 224, 256, 384, 512, or 0(which is same with 256). You can merge this pull request into a Git repository by running: $ git pull https://github.com/xwq/incubator-trafodion sha Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/849.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #849 ---- commit dccafce1f8c4ecb373c2d9755af498550eb144de Author: Weiqing Xu <weiqing...@esgyn.cn> Date: 2016-11-22T05:21:02Z [TRAFODION-2229]SHA2 function enhancement SHA2 support more funtcions than SHA-256. Now, it support SHA-224, SHA-256, SHA-384, SHA-512. SHA2(str, hash_length) The first argument is the string to be hashed. The second is the desired bit length of the result, which must have a value of 224, 256, 384, 512, or 0(which is same with 256). ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---