[ 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]+/"

return: string
param: string $src

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

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

return: string
param: string $src

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

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

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

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

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

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

return: int
param: int $src

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

return: string
param: int $src



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1