[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

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

Defines 4 functions

  encode()
  encodeUnpadded()
  doEncode()
  decode()

Functions
Functions that are not part of a class:

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



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