安卓加密不工作(PBKDF2WithHmacSHA256加密与AES/CBC/PKCS7Padding)。
我正在尝试在 android JNCryptor.但它显示: CryptorException: Failed to generate key from password using PBKDF2WithHmacSHA256 和 NoSuchAlgorithmException: SecretKeyFactory PBKDF2WithHmacSHA256 implementation not found try { SecretKeyFactory factory = SecretKeyFactory .getInstance(KEY_DERIVATION_ALGORITHM); SecretKey tmp = factory.generateSecret(new PBEKeySpec(password, salt, getPBKDFIterations(), AES_256_KEY_SIZE * 8)); return new
1452 2022-07-19
编程技术问答社区