The length of encrypted data must be a multiple of 16, otherwise encryption will fail. Before encryption, you need to check whether to add 0.
The main function used is CCCrypt:
To decrypt, the string needs to be converted into NSData by base64 decoding, and then decrypted by AES 128.
Sha256withRSA signature
RSA signature requires Mac to generate public and private keys. Because our project is applied in the background, and given the public key and private key strings, it is converted into SecKeyRef format through strings.
The main function SecKeyRawSign is used.
In general, the client is only used for signing data and background verification.
Frame presentation address
I've been using the project recently, and I read a lot of articles before I got it. Please correct me if there is anything wrong, thank you!