pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Penchalaiah P. <penchalaiahp@infics.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: hi how to use encryption for incomtax in postgresql
Date: Fri, 26 May 2006 13:30:59 +0100
Message-ID: <4476F503.50401@archonet.com> (raw)
In-Reply-To: <A70AE049E81A6A40879D5DC0AC8C38C9064F6491@venus.infics.com>
References: <A70AE049E81A6A40879D5DC0AC8C38C9064F6491@venus.infics.com>

Penchalaiah P. wrote:
> hi sir
> 
> how to use encryption to password in postgresql with examples

It depends on what you're trying to achieve - password protection, 
concealing data, encrypting a connection.

The md5() function is built-in, and may be suitable for password 
protection on a simple web app.

The pg_crypto module in the contrib directory of the source distribution 
(or the extras package of your particular distribution) gives examples 
of various encryption and hashing functions it supports.

Encrypted connections are handled by the ssl library - see Chapter 20. 
"Client Authentication" in the manuals.

HTH
-- 
   Richard Huxton
   Archonet Ltd



view thread (3+ messages)

Message-ID: <4476F503.50401@archonet.com>
Permalink:  ../4476F503.50401@archonet.com/
Also on:    postgresql.org/message-id/4476F503.50401@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, penchalaiahp@infics.com
  Subject: Re: hi how to use encryption for incomtax in postgresql
  In-Reply-To: <4476F503.50401@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox