How to jsonize the string encrypted by openssl_encrypt under windown by php

the string to be encrypted will become a string that is not utf8 after openssl_encrypt. Using json_encode will fail
if you transcode it to utf8, it will not be decoded

Jul.19,2021

base64_encode becomes a string

Menu