public getRandom () Returns a secure random number generator instance
public setDefaultHash (mixed $defaultHash) Sets the default hash
extends class Phalcon\Exception
public bytes ([mixed $len]) Generates a random binary string The Random::bytes method returns a string
integer CRYPT_BLOWFISH_A
public hash (mixed $password, [mixed $workFactor]) Creates a password hash using bcrypt with a pseudo random
public checkHash (mixed $password, mixed $passwordHash, [mixed $maxPassLength]) Checks a plain text
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
public uuid () Generates a v4 random UUID (Universally Unique IDentifier) The version 4 UUID is purely random (except the version)
integer CRYPT_SHA256
Page 1 of 5