Re: Encryption functions

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Encryption functions
Дата
Msg-id 20060518124455.GA8583@winnie.fuhr.org
обсуждение исходный текст
Ответ на Encryption functions  (Thusitha Kodikara <kthusi@yahoo.com>)
Ответы Re: Encryption functions  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Re: Encryption functions  (Thusitha Kodikara <kthusi@yahoo.com>)
Список pgsql-sql
On Thu, May 18, 2006 at 04:21:19AM -0700, Thusitha Kodikara wrote:
> Are there any encryption functions that can be used in
> SQL inserts and selects directly?  For example like
> "select encryptin_function('test_to_be_encrypted'), ........"

See the contrib/pgcrypto module.  It has functions like digest()
for making SHA1, MD5, and other digests; hmac() for making Hashed
Message Authentication Codes; and encrypt()/encrypt_iv() and
decrypt()/decrypt_iv() for doing encryption and decryption.  Since
8.1 pgcrypto also has functions for doing OpenPGP symmetric and
public-key encryption.

-- 
Michael Fuhr


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

Предыдущее
От: Thusitha Kodikara
Дата:
Сообщение: Encryption functions
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: Encryption functions