Flutter Firebase signInWithEmailAndPassword cryptography

删除回忆录丶 提交于 2021-02-11 15:41:18

问题


I'm using Flutter + firebase auth to authenticate my users with email and password using this syntax:

void signIn({@required String email,@required String pass})   
FirebaseAuth.instance.signInWithEmailAndPassword(email: email, password: pass)...

The username and password are Strings, plain text

My question is, do I have to worry about password security? does the password string goes to the network encrypted?


回答1:


All communication between the Firebase Authentication client and the backend servers happens over (HTTPS) connections that are end-to-end encrypted. So while the password may appear as plain text in the code, it cannot be seen by anyone checking the network traffic (unless the network is already compromised).

Also see:

  • Does Firebase automatically encrypt passwords?



回答2:


Don't Worry, Firebase already takes care of that for you.



来源:https://stackoverflow.com/questions/61409122/flutter-firebase-signinwithemailandpassword-cryptography

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!