04 June 2019 · Asran ·       Add to Favorites   Report

BigQuery SHA256 function

If you're using Standard SQL in BigQuery then you could use:

SELECT TO_HEX(SHA256("def@gmail.com")) as sha256;


| sha256     |
| c392e50ebeca7bea4405e9c545023451ac56620031f81263f681269bde14218b |


posted on 04 June 2019

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too