File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33/**
44 * This file is the Encryption test.
55 *
6- * @author Malik Umer Farooq <lablnet01 @gmail.com>
7- * @author-profile https://www.facebook.com/malikumerfarooq01 /
6+ * @author Peter279k <peter279k @gmail.com>
7+ * @author-profile https://peterli.website /
88 *
99 * For the full copyright and license information, please view the LICENSE
1010 * file that was distributed with this source code.
1111 *
12- * @since 3.0.0
12+ * @note This file is not a part of Zest Framework.
1313 *
1414 * @license MIT
1515 */
@@ -23,7 +23,7 @@ class EncryptionTest extends TestCase
2323{
2424 public function testEncryptAndDecryptWithOpenSsl ()
2525 {
26- $ encryption = new Encryption ('openssl ' , ' 12345678990-=====-=== ' );
26+ $ encryption = new Encryption ('12345678990-=====-=== ' , ' openssl ' );
2727 $ encryptedString = $ encryption ->encrypt ('plain-text ' );
2828 $ decryptedString = $ encryption ->decrypt ($ encryptedString );
2929
@@ -34,7 +34,7 @@ public function testEncryptAndDecryptWithOpenSsl()
3434
3535 public function testEncryptAndDecryptWithSodium ()
3636 {
37- $ encryption = new Encryption ('sodium ' , ' euyq74tjfdskjFDSGq74 ' );
37+ $ encryption = new Encryption ('euyq74tjfdskjFDSGq74 ' , ' sodium ' );
3838 $ encryptedString = $ encryption ->encrypt ('plain-text ' );
3939 $ decryptedString = $ encryption ->decrypt ($ encryptedString );
4040
You can’t perform that action at this time.
0 commit comments