2017.9.5 postgresql加密函数的使用
Posted 七月流火嗞嗞嗞
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了2017.9.5 postgresql加密函数的使用相关的知识,希望对你有一定的参考价值。
需要安装的插件的名字:pgcrypto
stackoverflow:
具体步骤:
1.add the extensions: create extension pgcrypto
2.check the extensions: select * from pg_available_extensions

3.use the extensions: select \'{SHA}\'||encode(digest(\'test\', \'sha1\'), \'base64\');

以上是关于2017.9.5 postgresql加密函数的使用的主要内容,如果未能解决你的问题,请参考以下文章