Thursday, June 7, 2018

Encrypt data postgres

CREATE EXTENSION pgcrypto;
 
SELECT ENCODE(DIGEST('sometext','sha256'),'hex');
 

No comments:

Post a Comment