public static function digest($nonce, $createdAt, $password)
    {
        return base64_encode(sha1($nonce.$createdAt.$password, true));
    }
public static function digest($nonce, $createdAt, $password)
    {
        return base64_encode(sha1($nonce.$createdAt.$password, true));
    }
public static function digest ( $ nonce , $ createdAt , $ password ) { return base64_encode ( sha1 ( $ nonce . $ createdAt . $ password , true ) ) ; }
Create a password digest

@param string $nonce
@param string $createdAt
@param string $password

@return string
Create a password digest