I noticed that postgres compares encrypted text using 'contain' and not 'equal'. To replicate use this:
create table "user" (uname text, password chkpass);
insert into "user" values ('user1', 'password')
select * from "user" where uname = 'user1' and password = 'password1'
This is a major issue.
Has anyone noticed that? can someone give me temporary solution please?