From bca546121419c95f1169c6d2ff8f06ca628280dc Mon Sep 17 00:00:00 2001 From: ray-ang <46805160+ray-ang@users.noreply.github.com> Date: Sun, 18 Sep 2022 22:48:38 -0400 Subject: [PATCH] Add space --- encryption/controllers/Encryption.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encryption/controllers/Encryption.php b/encryption/controllers/Encryption.php index 4e914af..393b8eb 100644 --- a/encryption/controllers/Encryption.php +++ b/encryption/controllers/Encryption.php @@ -19,7 +19,7 @@ function make_key() { function _encrypt($plaintext) { $ivlen = \openssl_cipher_iv_length($this->cipher); $iv = \openssl_random_pseudo_bytes($ivlen); - $ciphertext = openssl_encrypt($plaintext, $this->cipher, $this->key, $this->options, $iv,$tag); + $ciphertext = openssl_encrypt($plaintext, $this->cipher, $this->key, $this->options, $iv, $tag); $enc_string = bin2hex($iv).bin2hex($tag).$ciphertext; return $enc_string; } @@ -32,4 +32,4 @@ function _decrypt($enc_string) { return $result; } -} \ No newline at end of file +}