Skip to content

Instantly share code, notes, and snippets.

@javiersantos
Created July 21, 2015 08:35
Show Gist options
  • Save javiersantos/02a3644170b4cd7be81f to your computer and use it in GitHub Desktop.
Save javiersantos/02a3644170b4cd7be81f to your computer and use it in GitHub Desktop.
Create Redmine User Password
<?php
$plain_password = 'password';
$user_salt = '';
$hash = sha1('#' . $user_salt . '#' . sha1($plain_password));
echo $hash . "\n";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment