Php Decrypt a String from C# .NET RIJNDAEL 256

前端 未结 1 1137
慢半拍i
慢半拍i 2021-01-05 06:51

Fixed it.

$data = base64_decode(str_replace(\' \', \'+\', $_GET[\'data\']));

for whatever reason, Php was converting the +\'s from the GET

相关标签:
1条回答
  • 2021-01-05 07:04

    Fixed it by using the following code.

    $data = base64_decode(str_replace(' ', '+', $_GET['data']));
    

    For whatever reason, PHP was converting the +'s from the GET variablesinto spaces.

    0 讨论(0)
提交回复
热议问题