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

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



Generated: Thu Jan 23 01:00:04 2020 Cross-referenced by PHPXref 0.7.1