Function __global->ratchet_hash

Definitions

sources/crypt.php

  • Do a hashing, with support for our "ratcheting up" algorithm (i.e. lets the admin increase the complexity over the time, as CPU speeds get faster).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$password SHORT_TEXT required parameter N/A N/A The password in plain text
$salt SHORT_TEXT required parameter N/A N/A The salt

Return

  • The salted&hashed password
  • Type: SHORT_TEXT
  • Set: N/A
  • Range: N/A