Skip to content

Commit 0f5e8f9

Browse files
author
Muhammad Umer Farooq
authored
Update SodiumEncryption.php
1 parent d9c48fc commit 0f5e8f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Adapter/SodiumEncryption.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public function __construct($key)
2929
throw new \Exception('The sodium php extension does not installed or enabled', 500);
3030
}
3131

32-
//$this->key = sodium_crypto_secretbox_keygen();
3332
//should use user define key.
3433
$this->key = substr(hash('sha512', $key),0, 32);
3534
}

0 commit comments

Comments
 (0)