android / security-samples

Multiple samples showing the best practices in security APIs on Android.
Apache License 2.0
938 stars 395 forks source link

How to Open Encrypted file on Windows PC? #60

Closed praveenb closed 4 years ago

praveenb commented 4 years ago

Hi,

I see encrypted file able to decrypt in app is fine. I want to know, how to open the encrypted file generated in app on Windows 10 PC using same password given Android app.

Please help on it.

Thank you.

nic0lette commented 4 years ago

Hi,

Sorry, this type of use case is a bit beyond the scope of the samples here. I'd recommend asking on Stack Overflow.

jmarkoff commented 4 years ago

If you need to decrypt across platforms, you should check out Tink. Jetpack Security uses it, and you can use other Key Management Systems (KMS) besides the AndroidKeyStore which would allow you to handle cross platform encryption and decryption.

https://github.com/google/tink/blob/master/docs/KEY-MANAGEMENT.md#key-management-systems