在YII中通过POST接收时,RSA算法加密结果发生变化

We are using RSA algorithm for encryption using yii.

We have an array and we encrypted this array using RSA algoritham in yii.

When the encrypted array passed through $_POST the string changed and getting some other string like as follows:-

Input:

  • b¯ uÁGÒJÒ•ŠR™Tè6–›v Ü8É]uÃc,oæ?ëÂí´7f©¹I¡KËzämwf!L}d¸dÜ’²3¬T%ë„íˆÙ8-Fs@pÚ™Ö™¡dÔ®u›HN^n*G=Ž r•éŒHƒ'ƒèSRAEgŸ±KXi4›U3°b~¶¸zj\áñs ù½‹Ó îÀÝñ¬ “àÅ‚×Ò¨^ײ5¸zœŒÛõl ¨Z›3’Ä—ì²VQïŸH›;oz”£ ÿ F›VNú»r ?+¬+XÖ1üÍï6ôy®Sc€8èîåßbVª¹ßàsZFS=7!MºŒ…ÏPhyãæ}Vªó 384b¯
   |
 $_POST
   |  

Output:

  • uÁGÒJÒ•ŠR™Tè6–›v Ü8É]uÃc,oæ?ëÂí´7f©¹I¡KËzämwf!L}d¸dÜ’²3¬T%ë„íˆÙ8-Fs@pÚ™Ö™¡dÔ®u›HN^n*G=Ž r•éŒHƒ'ƒèSRAEgŸ±KXi4›U3°b~¶¸zj\áñs ù½‹Ó îÀÝñ¬ “àÅ‚×Ò¨^ײ5¸zœŒÛõl ¨Z›3’Ä—ì²VQïŸH›;oz”£ ÿ F›VNú»r ? ¬ XÖ1üÍï6ôy®Sc€8èîåßbVª¹ßàsZFS=7!MºŒ…ÏPhyãæ}Vªó

See the output encrypted format is not as in input.

Is any limitation for encrypted format for passing through $_POST ??