Firebase是否会自动加密密码? [英] Does Firebase automatically encrypt passwords?

查看:63
本文介绍了Firebase是否会自动加密密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用signUp()方法创建新用户时,Firebase是否会自动加密纯文本密码?此外,它还会使用signIn()方法自动对纯文本密码进行哈希/加密:

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?

推荐答案

您传递纯文本,Firebase会处理所有加密.

You pass plain text, Firebase handles all the encryption.

这篇关于Firebase是否会自动加密密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆