Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php hash password using bcrypt

<?php
// Usage 1:
echo password_hash('rasmuslerdorf', PASSWORD_DEFAULT)."
";
// $2y$10$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// For example:
// $2y$10$.vGA1O9wmRjrwAVXD98HNOgsNpDczlqm3Jq7KnEd1rVAGv3Fykk1a

// Usage 2:
$options = [
  'cost' => 11
];
echo password_hash('rasmuslerdorf', PASSWORD_BCRYPT, $options)."
";
// $2y$11$6DP.V0nO7YI3iSki4qog6OQI5eiO6Jnjsqg7vdnb.JgGIsxniOn4C
Comment

PREVIOUS NEXT
Code Example
Php :: get url parameters in laravel blade 
Php :: carbon two day ago 
Php :: wp get acf category in post 
Php :: is users logged in laravel blade 
Php :: Auth log out laravel 
Php :: unable to locate package php8.1 ubuntu 
Php :: woocommerce get product category name by id 
Php :: laravel run a specific migration 
Php :: taxonomy acf 
Php :: slug in php 
Php :: laravel check record exists 
Php :: - tijsverkoyen/css-to-inline-styles 2.2.3 requires ext-dom * - the requested PHP extension dom is missing from your system. 
Php :: disable cors policy symfony 
Php :: permissions on ssh 
Php :: php closecursor 
Php :: update sql php 
Php :: query-data-from mysql and php 
Php :: getting last day of next month in php 
Php :: max_execution_time php 
Php :: carbon parse timestamp 
Php :: Class "AppUser" not found 
Php :: how to convert array to string with commas in php 
Php :: strval in php 
Php :: joomla cache programing clear 
Php :: php mail function from name 
Php :: if is alphabet php 
Php :: get extension from filename php 
Php :: eloquent delete all where 
Php :: php sort array by specific key 
Php :: Excerpt/ get post content 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =