Parisa Baastani
Parisa Baastani

Reputation: 1911

What are the differences between flutter_secure_storage and shared_prefrences in flutter? Why is flutter_secure_storage more secure?

Actually, I've heard that for saving sensitive data, it's better to save it in flutter_secure_storage; but I found nowhere about how flutter_secure_storage is more secure than shared_prefrences? should I save the user token in flutter_secure_storage?

Upvotes: 1

Views: 1618

Answers (1)

Ruchit
Ruchit

Reputation: 2740

flutter_secure_storage is stored with aes encryption but there is better option available with same security but with high performance hive. here you can read more about it https://pub.dev/packages/hive#benchmark

Upvotes: 1

Related Questions