Skip to content
Snippets Groups Projects
Unverified Commit 192a49e9 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3118581 by kiamlaluno: The documentation for Crypt::randomBytesBase64()...

Issue #3118581 by kiamlaluno: The documentation for Crypt::randomBytesBase64() is wrong about the output length

(cherry picked from commit d2d8fc93)
parent 485db38e
No related branches found
No related tags found
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
...@@ -108,7 +108,8 @@ public static function hashEquals($known_string, $user_string) { ...@@ -108,7 +108,8 @@ public static function hashEquals($known_string, $user_string) {
* The number of random bytes to fetch and base64 encode. * The number of random bytes to fetch and base64 encode.
* *
* @return string * @return string
* The base64 encoded result will have a length of up to 4 * $count. * A base-64 encoded string, with + replaced with -, / with _ and any =
* padding characters removed.
* *
* @see \Drupal\Component\Utility\Crypt::randomBytes() * @see \Drupal\Component\Utility\Crypt::randomBytes()
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment