[
https://issues.apache.org/jira/browse/CALCITE-5642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714389#comment-17714389
]
Willem Jiang commented on CALCITE-5642:
---------------------------------------
[~FrankZou] Please check out [handling cryptography within an ASF
release|https://infra.apache.org/crypto.html ] for more information about the
cryptography export control.
I just checked the changes you made. DigestUtils leverage some tools to do the
digesting work. You may double-check if it uses the Bouncy Castle library as
[this page|https://www.apache.org/licenses/exports/] shows.
> Add SHA256, SHA512 functions
> ----------------------------
>
> Key: CALCITE-5642
> URL: https://issues.apache.org/jira/browse/CALCITE-5642
> Project: Calcite
> Issue Type: New Feature
> Reporter: Dan Zou
> Assignee: Dan Zou
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Add SHA256, SHA512 functions and enable them for BigQuery.
> SHA256: Computes the hash of the input using the [SHA-256
> algorithm|https://en.wikipedia.org/wiki/SHA-2]. This function returns 32
> bytes.
> SHA512: Computes the hash of the input using the [SHA-512
> algorithm|https://en.wikipedia.org/wiki/SHA-2]. This function returns 64
> bytes.
> See more details in [BigQuery
> Doc|https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#sha256]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)