Encryption & Decryption of username using KeyStore in Android M & older version?
问题 i'm trying to encrypt and decrypt username in app using KeyStore, Using KeyPairGeneratorSpec to create the key in older version like 18 to 22, KeyPairGeneratorSpec as been depricated in version 23 of android M, But Android M supports KeyGenParameterSpec. Does this KeyGenParameterSpec supports backward comparability or how do i do this ? Im trying out some thing like this , is there any better solution for this. This works fine as off now! At the time of Ciper.getInstance in encryption and