Completed
Pull Request — master (#24)
by Michael
01:25
created
examples/vectors.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 ];
22 22
 
23 23
 foreach (\Dcrypt\OpensslSupported::ciphers() as $cipher) {
24
-    if (strtolower($cipher) !== $cipher) {
24
+    if (strtolower($cipher) !== $cipher) {
25 25
         continue;
26 26
     }
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 }
34 34
 
35 35
 foreach (\Dcrypt\OpensslSupported::algos() as $algo) {
36
-    if (strtolower($algo) !== $algo) {
36
+    if (strtolower($algo) !== $algo) {
37 37
         continue;
38 38
     }
39 39
 
Please login to merge, or discard this patch.
examples/classes/Aes256Base64.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Dcrypt\Examples;
4 4
 
5
-class Aes256Base64 extends \Dcrypt\Aes256Gcm
6
-{
5
+class Aes256Base64 extends \Dcrypt\Aes256Gcm
6
+{
7 7
     public static function decrypt(string $data, string $key): string
8 8
     {
9 9
         return parent::decrypt(\base64_decode($data), $key);
Please login to merge, or discard this patch.
examples/classes/TinyFish.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
  *
8 8
  * This is useful for medium security situations where minimal space consumption is important.
9 9
  */
10
-class TinyFish extends \Dcrypt\OpensslBridge
11
-{
10
+class TinyFish extends \Dcrypt\OpensslBridge
11
+{
12 12
     /**
13 13
      * Specify using blowfish ofb cipher method
14 14
      *
Please login to merge, or discard this patch.