Re: Pg 9.1.3 pg_crypto question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pg 9.1.3 pg_crypto question
Дата
Msg-id 22187.1334091019@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pg 9.1.3 pg_crypto question  (Aaron Burnett <aburnett@bzzagent.com>)
Ответы Re: Pg 9.1.3 pg_crypto question  (Aaron Burnett <aburnett@bzzagent.com>)
Re: Pg 9.1.3 pg_crypto question  (Dick Wieland <dick.wieland@wiline.com>)
Список pgsql-general
Aaron Burnett <aburnett@bzzagent.com> writes:
> 9.1.3 is just not decrypting nor throwing errors.

> 9.1.3# select decrypt_iv(decode('rkMRWpnnbjaFoHyLmCD/bg==', 'base64'),
> decode('bcRJvbqeWMPDXMtIP8pPOQ==', 'base64'), '0000000000000000',
> 'aes-cbc');
>         decrypt_iv
> --------------------------
> \x48656c6c6f205468657265
> (1 row)

I think this is the same result, it's just being shown in hex.
See the bytea_output configuration parameter.

            regards, tom lane

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

Предыдущее
От: Andy Chambers
Дата:
Сообщение: trigger when clause
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: efficient trigger function selection?