问题
Does Firebase automatically encrypt plain text passwords when creating a new user using the signUp() method? Also, does it automatically hash/encrypt plain text passwords with the signIn() method:
firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {}
...
firebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) {}
Would password
be plain text or already hashed?
回答1:
You pass plain text, Firebase handles all the encryption.
来源:https://stackoverflow.com/questions/58053508/does-firebase-automatically-encrypt-passwords