[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/sodium_compat/src/Core/Base64/ -> UrlSafe.php (summary)

(no description)

File Size: 247 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ParagonIE_Sodium_Core_Base64_UrlSafe:: (6 methods):
  encode()
  encodeUnpadded()
  doEncode()
  decode()
  decode6Bits()
  encode6Bits()


Class: ParagonIE_Sodium_Core_Base64_UrlSafe  - X-Ref

Class ParagonIE_Sodium_Core_Base64UrlSafe

Copyright (c) 2016 - 2018 Paragon Initiative Enterprises.
Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
encode($src)   X-Ref
Encode into Base64

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

param: string $src
return: string

encodeUnpadded($src)   X-Ref
Encode into Base64, no = padding

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

param: string $src
return: string

doEncode($src, $pad = true)   X-Ref

param: string $src
param: bool $pad   Include = padding?
return: string

decode($src, $strictPadding = false)   X-Ref
decode from base64 into binary

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

param: string $src
param: bool $strictPadding
return: string

decode6Bits($src)   X-Ref
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: int $src
return: int

encode6Bits($src)   X-Ref
Uses bitwise operators instead of table-lookups to turn 8-bit integers
into 6-bit integers.

param: int $src
return: string



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1