We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23e8142 + a6e46c8 commit 8eccc3dCopy full SHA for 8eccc3d
application/controllers/api/Key.php
@@ -213,7 +213,7 @@ private function _generate_key()
213
do
214
{
215
// Generate a random salt
216
- $salt = $this->security->get_random_bytes(64);
+ $salt = base_convert(bin2hex($this->security->get_random_bytes(64)), 16, 36);
217
218
// If an error occurred, then fall back to the previous method
219
if ($salt === FALSE)
0 commit comments