BigQuery SHA256 function

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

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

results:

| sha256     |
| c392e50ebeca7bea4405e9c545023451ac56620031f81263f681269bde14218b |

Asran

posted on 04 Jun 19

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds