Horde_Token_Base::getNonce PHP Méthode

getNonce() public méthode

Return a "number used once" (a concatenation of a timestamp and a random numer).
public getNonce ( ) : string
Résultat string A string of 6 bytes.
    public function getNonce()
    {
        return pack('Nn', time(), mt_rand());
    }