File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,9 @@ to work correctly. Just pass a file name to enable it::
6060.. tip ::
6161
6262 The ``nextBytes() `` method returns a binary string which may contain the
63- ``\0 `` character. If you store this value in a database or include it as
64- part of the URL, make sure to hash the value returned by ``nextBytes() ``
65- (to do that, you can use a simple ``md5() `` PHP function).
63+ ``\0 `` character. This can cause troubles in lots of common scenarios, such
64+ as storing this value in a database or including it as part of the URL. The
65+ solution is to hash the value returned by ``nextBytes() `` (to do that, you
66+ can use a simple ``md5() `` PHP function).
6667
6768.. _`Timing attack` : http://en.wikipedia.org/wiki/Timing_attack
You can’t perform that action at this time.
0 commit comments