From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: SHA-2 functions |
Date: | 2018-02-19 20:02:02 |
Message-ID: | 359d082e-fe61-04be-f8c0-b3a3594a3536@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2/19/18 09:06, Aleksander Alekseev wrote:
>> So I suggest these patches that expose the new functions sha224(),
>> sha256(), sha384(), sha512(). That allows us to make the SSL and SCRAM
>> tests more robust, and it will allow them to be used in general purpose
>> contexts over md5().
>
> Nice patch. I wonder though whether tests should include hashing
> non-ASCII characters as well.
The input is of type bytea, so the concept of non-ASCII characters
doesn't quite apply.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-02-19 20:40:27 | pgsql: Allow UNIQUE indexes on partitioned tables |
Previous Message | Jesper Pedersen | 2018-02-19 18:55:16 | Re: JIT compiling with LLVM v10.1 |