First, we import bcrypt which we need to secure passwords. | Primero, importamos bcrypt, que necesitamos para proteger las contraseñas. |
In PHP, you can create a bcrypt hash using the crypt function. | En PHP, puedes generar un hash bcrypt utilizando la función crypt. |
Both are based on the bcrypt algorithm, which is slow by design. | Ambos se basan en el algoritmo bcrypt, que es lento por diseño. |
CakePHP hashes passwords with bcrypt by default. | CakePHP encripta contraseñas con bcrypt por defecto. |
When enabled, MDaemon uses the bcrypt password hashing function. | Al habilitarse, MDaemon utiliza la función de hash bcrypt para encriptar las contraseñas. |
The best current choice is bcrypt. | La mejor elección actualmente es bcrypt. |
This example generates a password hash using bcrypt with a cost factor 4. | Este ejemplo genera un hash de contraseña utilizando bcrypt con un factor de costo 4. |
We hash passwords stored in the database (using bcrypt with a cost factor of 12). | Aplicamos hash a las contraseñas almacenadas en la base de datos (usando bcrypt con un factor de coste de 12). |
A good way to encrypt passwords is to use bcrypt and we'll use the bcrypt-ruby gem to do this in our application. | Para cifrar las claves podemos usar bcrypt, incorporándolo en nuestra aplicación mediante la gema bcrypt-ruby. |
This is a standard behavior for algorithms such as bcrypt, since the best practice is to create a new, random salt for every hash. | Este es un comportamiento estándar para algoritmos como bcrypt, ya que la mejor práctica es crear una nueva sal aleatoria para cada hash. |
