문제

I am new to encryption, I used encryption techniques of all types,but client particularly asking about PBKDF2 encryption technique. Any Help?

도움이 되었습니까?

해결책

PBKDF2 is a method to create a secure encryption key from a password. PBKDF2 stands for "Password-Based Key Derivation Function 2".
You will also need to provide the number of rounds, see PBKDF2 Calibration.

AES is an encryption method. AES stands for "Advanced Encryption Standard".
Other things you will need to handle:

  • Encryption mode
  • IV (Initialization Vector)
  • Padding
  • Key size

Both PBKDF2 and AES are supported by iOS CommonCrypto.

What you need to do is a two step process:

  1. Use PBKDF2 to create an encryption key from a password string.
  2. Then encrypt the data using the encryption key.

Finally you will need to secure the encryption key.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top