PRQL / prql

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement
https://prql-lang.org
Apache License 2.0
9.99k stars 219 forks source link

Add hash functions #1797

Open vanillajonathan opened 1 year ago

vanillajonathan commented 1 year ago

Discussed in https://github.com/PRQL/prql/discussions/1768

Originally posted by **vanillajonathan** February 10, 2023 Maybe there could be hash functions? Like [SHA-3](https://en.wikipedia.org/wiki/SHA-3), BLAKE or ChaCha20? Example: ```rust let foo = sha3_512("Hello world!") ```
max-sixty commented 1 year ago

We'd need to:

Brief note:

let foo = sha3_512("Hello world!")

This would be let foo = sha_bar "Hello world!", no parentheses