File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ public function encrypt($value, $serialize = true)
84
84
throw new EncryptException ('Could not encrypt the data. ' );
85
85
}
86
86
87
- // Once we have the encrypted value we will go ahead base64_encode the input
88
- // vector and create the MAC for the encrypted value so we can verify its
89
- // authenticity. Then, we'll JSON encode the data in a "payload" array.
87
+ // Once we have the encrypted value we will go ahead and base64_encode the input
88
+ // vector and create the MAC for the encrypted value so we can then verify its
89
+ // authenticity. Then, we will JSON encode the data into a "payload" array.
90
90
$ mac = $ this ->hash ($ iv = base64_encode ($ iv ), $ value );
91
91
92
92
$ json = json_encode (compact ('iv ' , 'value ' , 'mac ' ));
You can’t perform that action at this time.
0 commit comments