Home > Net >  Base64 decoding decryption, first, and then use the encrypted key and AES/CBC/PKCS7Padding.
Base64 decoding decryption, first, and then use the encrypted key and AES/CBC/PKCS7Padding.

Time:11-25

WeChat a yard:
3.1 the decryption description
Real-name data encryption method using AES CBC mode, use the iv solution key, use PKCS7Padding fill, finally use base64 encoding,
Base64 decoding decryption, first, and then use the keys and AES/CBC/PKCS7Padding decryption, key when applying for real-name interface permissions, will provide to the application procedure,

Around half a day cannot realize

C # implementation approach

CodePudding user response:

http://www.bouncycastle.org/csharp/

CodePudding user response:

https://stackoverflow.com/questions/28592989/aes-pkcs7-padding

CodePudding user response:

Actually is to use AES encryption, the inside of the parameters (iv, CBC, padding), according to his request to configure a example of AES encryption and see. Then write a test method under test
  •  Tags:  
  • C#