public static function nonce() { return sprintf('%06x', rand(0, 16776960)) . sprintf('%06x', rand(0, 16776960)); }