Skip to content

Commit aaeef9c

Browse files
authored
Update authentication.rst
1 parent 637b8fe commit aaeef9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

message/authentication.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ WSSE
8585
8686
$authentication = new Wsse('username', 'password');
8787
88+
For better security, also pass the 3rd optional parameter to use a better hashing algorithm than ``sha1``, e.g.
89+
90+
.. code-block:: php
91+
92+
use Http\Message\Authentication\Wsse;
93+
94+
$authentication = new Wsse('username', 'password', 'sha512');
95+
8896
.. _Authentication-QueryParams:
8997

9098
Query Params

0 commit comments

Comments
 (0)