2009년 07월 31일
PostgreSQL에서 암호화 관련 기능 사용하려면...
1. postgresql-contrib-xxx.rpm을 설치한다.
ex) postgresql-contrib-8.2.13-1PGDG.rhel4.i386.rpm
2. pgcrypto.sql 파일을 DB에 적용한다.
ex) psql test_db < /usr/share/pgsql/contrib/pgcrypto.sql
3. 암호화 관련 기능을 사용한다.
ex) select decrypt(decode(test_field, 'hex'), 'key', 'aes') from test_table;
ex) postgresql-contrib-8.2.13-1PGDG.rhel4.i386.rpm
2. pgcrypto.sql 파일을 DB에 적용한다.
ex) psql test_db < /usr/share/pgsql/contrib/pgcrypto.sql
3. 암호화 관련 기능을 사용한다.
ex) select decrypt(decode(test_field, 'hex'), 'key', 'aes') from test_table;
이 글과 관련있는 글을 자동검색한 결과입니다 [?]
- pgsql autovacuum ON/OFF by 태극프로그래머
- [INSTALL] Trac 과 PostgreSQL 의 연동 by 허진영
# by | 2009/07/31 15:36 | Tip & 작업메모 | 트랙백 | 덧글(0)






☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]