Search Postgresql Archives

Re: Pg 9.1.3 pg_crypto question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Burnett <aburnett@xxxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux