PHP Classes

File: src/helpers/fromBase64.php

Recommend this page to a friend!
  Classes of Adão Pedro   PHP OpenSSL Proxy   src/helpers/fromBase64.php   Download  
File: src/helpers/fromBase64.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP OpenSSL Proxy
Manage certificates and encrypt data using OpenSSL
Author: By
Last change:
Date: 2 years ago
Size: 424 bytes
 

Contents

Class file image Download
<?php
  
  
/*
    * This file is part of the php-openssl-proxy.
    *
    * (c) Adão Pedro <adao.pedro16@gmail.com>
    *
    * For the full copyright and license information, please view the LICENSE
    * file that was distributed with this source code.
    */

    /**
     * Decode a data from a base64 to initial state
     */
   
function fromBase64(mixed $data): string {
        return \
base64_decode($data);
    }