[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/paragonie/constant_time_encoding/src/ -> RFC4648.php (summary)

Copyright (c) 2016 - 2022 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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

Defines 10 functions

  base64Encode()
  base64Decode()
  base64UrlSafeEncode()
  base64UrlSafeDecode()
  base32Encode()
  base32Decode()
  base32HexEncode()
  base32HexDecode()
  base16Encode()
  base16Decode()

Functions
Functions that are not part of a class:

base64Encode(string $str)   X-Ref
RFC 4648 Base64 encoding

"foo" -> "Zm9v"

return: string
param: string $str

base64Decode(string $str)   X-Ref
RFC 4648 Base64 decoding

"Zm9v" -> "foo"

return: string
param: string $str

base64UrlSafeEncode(string $str)   X-Ref
RFC 4648 Base64 (URL Safe) encoding

"foo" -> "Zm9v"

return: string
param: string $str

base64UrlSafeDecode(string $str)   X-Ref
RFC 4648 Base64 (URL Safe) decoding

"Zm9v" -> "foo"

return: string
param: string $str

base32Encode(string $str)   X-Ref
RFC 4648 Base32 encoding

"foo" -> "MZXW6==="

return: string
param: string $str

base32Decode(string $str)   X-Ref
RFC 4648 Base32 encoding

"MZXW6===" -> "foo"

return: string
param: string $str

base32HexEncode(string $str)   X-Ref
RFC 4648 Base32-Hex encoding

"foo" -> "CPNMU==="

return: string
param: string $str

base32HexDecode(string $str)   X-Ref
RFC 4648 Base32-Hex decoding

"CPNMU===" -> "foo"

return: string
param: string $str

base16Encode(string $str)   X-Ref
RFC 4648 Base16 decoding

"foo" -> "666F6F"

return: string
param: string $str

base16Decode(string $str)   X-Ref
RFC 4648 Base16 decoding

"666F6F" -> "foo"

return: string
param: string $str