Re: Need help on pgcrypto

Поиск
Список
Период
Сортировка
От Vitaly Burovoy
Тема Re: Need help on pgcrypto
Дата
Msg-id CAKOSWNk-+2M5opqErWj2dmsjknRTEJSPsiw2NxRgwfk_2x1Y5w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Need help on pgcrypto  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 1/11/16, Michael Paquier <michael.paquier@gmail.com> wrote:
> On Mon, Jan 11, 2016 at 10:03 PM, rajan <vgmonnet@gmail.com> wrote:
>> Trying to find a documentation which will make me understand how to secure
>> a
>> password column. I want the encryption to be one way and it should not be
>> decrypted.
>>
>> I am able to find discrete documents but nothing of them gets me there.
>
> Er, isn't that enough?
> http://www.postgresql.org/docs/devel/static/pgcrypto.html
> --
> Michael

I'd give more specific URL with examples of SELECT and UPDATE:
http://www.postgresql.org/docs/devel/static/pgcrypto.html#AEN170716

... but recommend to change just "gen_salt('md5')" to "gen_salt('bf', 8))"

-- 
Best regards,
Vitaly Burovoy



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Krauss
Дата:
Сообщение: Re: looking for an array-extract-item-as-it operator
Следующее
От: Andres Freund
Дата:
Сообщение: Re: checkpointer continuous flushing