Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据中有空格时解密结果不全 #1

Open
redoca opened this issue Jul 9, 2019 · 0 comments
Open

数据中有空格时解密结果不全 #1

redoca opened this issue Jul 9, 2019 · 0 comments

Comments

@redoca
Copy link

redoca commented Jul 9, 2019

建议去掉HexToStr.m 中82行以下代码,会导致数据中有空格时解密结果不全

for(int i=0;i<inputCharSize;i++){
        printf("%02x ", output[i]);
        if (output[i] == 32) {
            kgPos = i;
            output[i] = '\0';
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant