Giter Club home page Giter Club logo

Comments (3)

zesicus avatar zesicus commented on August 28, 2024

加密过的英文服务器还是可以解的……是不是加密过程中中文的encoding有问题?我已经替换
- (NSString *) decryptWithPrivatecKey:(NSString*)content
中一行为
NSMutableString *decryptString = [[NSMutableString alloc] initWithBytes:decData length:strlen(decData) encoding:NSUTF8StringEncoding];
可以解密服务器那边传送过来的中文了,可是app端加密的中文还是没法解怎么办呢?

from iosrsahandler.

HustBroventure avatar HustBroventure commented on August 28, 2024

我看看。

在 2016年6月29日,15:01,Sunny [email protected] 写道:

加密过的英文服务器还是可以解的……是不是加密过程中中文的encoding有问题?我已经替换

  • (NSString ) decryptWithPrivatecKey:(NSString)content
    中一行为
    NSMutableString *decryptString = [[NSMutableString alloc] initWithBytes:decData length:strlen(decData) encoding:NSUTF8StringEncoding];
    可以解密服务器那边传送过来的中文了,可是加密的中文还是没法解怎么办呢?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #3 (comment), or mute the thread https://github.com/notifications/unsubscribe/AM4y8zp4r3m-Mx1LEK6B8riAOfKXYDPMks5qQhhVgaJpZM4JA007.

from iosrsahandler.

HYAdonisCoding avatar HYAdonisCoding commented on August 28, 2024

加密过的中文却没法解出来,请问怎么解?

from iosrsahandler.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.