encryption - Encrypt the datas in postgresql -
encryption - Encrypt the datas in postgresql -
i beginner in postgresql. right now, using postgresql 9.3 version installed in windows server 2008 os. planing encrypt info in user table. have go through of web sites related that, did not clear thought , encrypt function not working. getting error while execute query.
select encrypt('123456789012345','1234','aes');.
error message : error: function encrypt(unknown, unknown, unknown) not exist
.
can help me solve issue.
regards, ram
you need to
create extension pgcrypto;
first.
however, encrypting things doesn't create them somehow "secure". please don't assume encrypting info accomplish security goal(s) you're trying achieve.
see:
storing encrypted info in postgres http://dba.stackexchange.com/q/24370/7788 http://dba.stackexchange.com/q/59154/7788... , many others.
postgresql encryption pgcrypto
Comments
Post a Comment