Submitted By: Dave Hall <skwashd gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1721975 13f79535-47bb-0310-9956-
ffa450edef68
Use the APR function: apr_sha1_base64
</example>
+ <example><title>Python</title>
+ import base64<br />
+ import hashlib<br />
+ "{SHA}" + format(base64.b64encode(hashlib.sha1(password).digest()))
+ </example>
+
<example>
<title>PostgreSQL (with the contrib/pgcrypto functions
installed)</title>
Utilisez la fonction APR : apr_sha1_base64
</example>
+ <example><title>Python</title>
+ import base64<br />
+ import hashlib<br />
+ "{SHA}" + format(base64.b64encode(hashlib.sha1(password).digest()))
+ </example>
+
<example>
<title>PostgreSQL (avec les fonctions contrib/pgcrypto
installées)</title>