Bcrypt是用于哈希还是加密?有点混乱 [英] Is Bcrypt used for Hashing or Encryption? A bit of confusion

查看:379
本文介绍了Bcrypt是用于哈希还是加密?有点混乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读关于 bcrypt (应用程序透视图)。想想使用它在我的网站上存储密码。

I have been reading about bcrypt (application perspective). Thinking of using it to store passwords on my site.

在我看过的某些东西中,有两种方法:

Out of some stuff that I read it suggests either ways:



  • eg 1:Bcrypt是 bcrypt

  • 中的跨平台文件加密实用程序。 2:bcrypt是一种自适应密码散列算法,它使用Blowfish密钥调度,而不是对称加密算法。来自如何安全地存储密码

  • bcrypt是由Niels Provos和DavidMazières根据Blowfish密码设计的密码的自适应密码散列函数:来自 bcrypt wiki

  • e.g. 1: Bcrypt is a cross platform file encryption utility from bcrypt
  • e.g. 2: bcrypt is an adaptive password hashing algorithm which uses the Blowfish keying schedule, not a symmetric encryption algorithm. from How To Safely Store A Password
  • bcrypt is an adaptive cryptographic hash function for passwords designed by Niels Provos and David Mazières, based on the Blowfish cipher: from bcrypt wiki

Bcrypt究竟是什么?

What exactly is Bcrypt?

推荐答案

它们都是:)

大多数时候人们提到BCrypt,他们正在谈论自适应哈希算法,但它也是一个不相关的文件加密实用程序

Most of the time when people mention BCrypt, they are talking about the adaptive hash algorithm, but it is also the name of an unrelated file encryption utility.

都是基于Blowfish密码。

Both are based on the Blowfish cipher.

这篇关于Bcrypt是用于哈希还是加密?有点混乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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