justalinko/iki64

Base64 Encode Decode With Key

v1.0.0 2023-03-25 17:59 UTC

This package is auto-updated.

Last update: 2025-03-29 00:54:13 UTC


README

base64 encode & decode with key

Installation

composer require justalinko/iki64:dev-master

how to

<?php

require_once('vendor/autoload.php');
$iki = new Iki64;

//    to encode     $data                    $key
echo $iki->iki64_encode('this is iki64 example', 'secret');


//    to decode     $data                          $key
echo $iki->iki64_decode('nOkqiyMqiyMqj2b2LZMcdOAxiOhc', 'secret');

demo

http://tpcg.io/0xCvk1

_original code https://github.com/milio48/iki64