You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Dan Zou (Jira)" <ji...@apache.org> on 2023/04/12 06:34:00 UTC

[jira] [Created] (CALCITE-5642) Add SHA256, SHA512 functions

Dan Zou created CALCITE-5642:
--------------------------------

             Summary: 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


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)