Welcome Guest, Not a member yet? Register   Sign In
Encryption output
#1
Shocked 

Hello guys!

I have problem with CI4 encryption and decryption...

The problem is from encryption method it is show strange output.
Sample Output:

http://prnt.sc/u2vmwi


My Setting in .env:

PHP Code:
encryption.key 'thisismykey' 
encryption.driver OpenSSL 


My code:

PHP Code:
$encrypter = \Config\Services::encrypter();
$plainText 'This is a plain-text message!';
$ciphertext $encrypter->encrypt($plainText);
echo 
$ciphertext

I hope someone can help me about the output from encryption.

Btw, CodeIgniter framework is awesome!
This is me. JK not me.
Reply


Messages In This Thread
Encryption output - by falcon812311 - 08-20-2020, 06:48 AM
RE: Encryption output - by paulbalandan - 08-20-2020, 12:22 PM
RE: Encryption output - by falcon812311 - 08-21-2020, 12:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB