Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe ParagonIE_Sodium_Core_Base64_Common

Fonctions membres publiques statiques

static encode ($src)
 
static encodeUnpadded ($src)
 

Fonctions membres protégées statiques

static decode6Bits ($src)
 
static encode6Bits ($src)
 

Description détaillée

Class ParagonIE_Sodium_Core_Base64

Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)

We have to copy/paste the contents into the variant files because PHP 5.2 doesn't support late static binding, and we have no better workaround available that won't break PHP 7+. Therefore, we're forced to duplicate code.

Documentation des fonctions membres

◆ decode6Bits()

static decode6Bits (   $src)
staticabstractprotected

Uses bitwise operators instead of table-lookups to turn 6-bit integers into 8-bit integers.

Base64 character set: [A-Z] [a-z] [0-9] + / 0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2b, 0x2f

Paramètres
int$src
Renvoie
int

◆ encode()

static encode (   $src)
static

Encode into Base64

Base64 character set "[A-Z][a-z][0-9]+/"

Paramètres
string$src
Renvoie
string
Exceptions
TypeError

◆ encode6Bits()

static encode6Bits (   $src)
staticabstractprotected

Uses bitwise operators instead of table-lookups to turn 8-bit integers into 6-bit integers.

Paramètres
int$src
Renvoie
string

◆ encodeUnpadded()

static encodeUnpadded (   $src)
static

Encode into Base64, no = padding

Base64 character set "[A-Z][a-z][0-9]+/"

Paramètres
string$src
Renvoie
string
Exceptions
TypeError

La documentation de cette classe a été générée à partir du fichier suivant :