2017.9.5 postgresql加密函数的使用
生活随笔
收集整理的這篇文章主要介紹了
2017.9.5 postgresql加密函数的使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
需要安裝的插件的名字:pgcrypto 官網地址:https://www.postgresql.org/docs/9.4/static/pgcrypto.html stackoverflow: https://stackoverflow.com/questions/8000740/how-do-i-install-pgcrypto-in-postgresql-9-1-on-windows/46046367#46046367 https://stackoverflow.com/questions/2647158/how-can-i-hash-passwords-in-postgresql 具體步驟: 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');
?
轉載于:https://www.cnblogs.com/lyh421/p/7482869.html
總結
以上是生活随笔為你收集整理的2017.9.5 postgresql加密函数的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jquery-data的三种用法
- 下一篇: 执行力:Just Do It