微信小程序登录解密数据乱码?
发布于 5 年前 作者 taochen 10717 次浏览 来自 官方Issues

微信小程序登录时,对获取到的session-key、encryptedData、iv进行base64解码后出现乱码是什么情况?

public static void main(String[] args) throws Exception {
    String sessionKey = Base64.decodeStr("1111");
    String encryptedData = Base64.decodeStr("1111");
    String iv = Base64.decodeStr("1111");
    System.out.println(sessionKey);
    System.out.println(encryptedData);
    System.out.println(iv);
}
%E�iy��XYh��
�׀��i�(�f'�p�X��9�'Q��T�������2���{$��?�«��/�*�4T7�c��/�6���5{RZ.��io�_�@�>�o?\~��&�'3�7bݕI<[��B,�,jH��m$�Υ{�(�ܯ-�I�l‰�[yl�D$�U`~���sb? Z�
����9�֖��e��
回到顶部