On Fri, Apr 21, 2017 at 3:27 PM, Akshay Joshi <[email protected]> wrote: > from passlib.hash import scram > hash = scram.encrypt(data['newPassword']) -- This function provide password > for all the supported digest like [md5, sha-1, sha-256, sha-512]. Didn't work > I have tried with all the passwords. > test = scram.extract_digest_info(hash, "sha-256") -- This function extract > info for specified digest "sha-256". I have retrieve the password which was > in hexadecimal. Didn't work as well. > > Now I am stuck here and no clue how to encrypt/decrypt the password for SCRAM > authentication. Can someone guide me out here.
Here you go: https://www.postgresql.org/message-id/[email protected] -- Michael -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
