Nguyễn Tiến Dũng
New member
How do I store my secret key?
Answer
1 Answer
Answer
1 Answer
- Create a key pair at your server, store public and private keys. …
- Include the public key in your application;
- The application uses a secure random generator to create an AES key;
- The data is encrypted using CBC and PKCS#7 padding, also include a HMAC (possibly with yet another random AES key);