Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hash expressions #31726
This PR adds hash functions to QGIS. No new dependency is required since it uses QCryptographicHash available in QtCore.
Use case is the same as PgCrypto but in client side for all supported format.
I can see the use for shorthands for sha256 and md5, but I wonder if this necessarily means that we have to provide all of them. No strong opinion.
Yeah I think just a single hash function makes the most sense. Avoids adding more functions then are needed…
On Sat., 14 Sep. 2019, 9:23 am Matthias Kuhn, ***@***.***> wrote: I can see the use for shorthands for sha256 and md5, but I wonder if this necessarily means that we have to provide all of them. No strong opinion. Concerning the method naming, I'd stick to hash, hasing is a one-way operation (in contrast to the usual to_xxx cast conversions) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#31726?email_source=notifications&email_token=AAC5FXDCG7QIZNJGKYTDNN3QJQOF3A5CNFSM4IWIZUWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6WNG4Q#issuecomment-531420018>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAC5FXDLB6O6PBYMQYFPG7TQJQOF3ANCNFSM4IWIZUWA> .