[
https://issues.apache.org/jira/browse/TRAFODION-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15685762#comment-15685762
]
ASF GitHub Bot commented on TRAFODION-2229:
-------------------------------------------
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 <[email protected]>
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).
----
> add Hashing functions to Trafodion
> ----------------------------------
>
> Key: TRAFODION-2229
> URL: https://issues.apache.org/jira/browse/TRAFODION-2229
> Project: Apache Trafodion
> Issue Type: Sub-task
> Reporter: liu ming
> Assignee: liu ming
> Fix For: 2.1-incubating
>
>
> CRC32() Compute a cyclic redundancy check value
> MD5() Calculate MD5 checksum
> SHA1(), SHA() Calculate an SHA-1 160-bit checksum
> SHA2() Calculate an SHA-2 checksum
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)