PHP code example of omerfarukbicer0446 / fire
1. Go to this page and download the library: Download omerfarukbicer0446/fire library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
omerfarukbicer0446 / fire example snippets
use Fire\Fire;
$fire = new Fire;
echo 'Şifrelenmiş yazı:<br>';
echo $fire->encode("Hello World!");
echo '<br>';
echo '<br>Şifrelenmemiş yazı:<br>';
echo $fire->decode('55c5ac2LsmLsm88c--5Eg8088cippLsmdimİİ',true);
/*
Kullanımı:
Şifreleme :)
fire_encode("Hello World!"); Çıktısı: 55c5ac2LsmLsm88c--5Eg8088cippLsmdimİİ
Şifreyi çözme :)
Not: htmlspecialchars kullanmanızı öneririm bazı özel karakterler yüzünden htmlde gözükmeme gibi durumlar oluyor.
onu daha kolay yoldan kullanmak isterseniz fire_decode($hash,true); yazmanız yeterlidir.
fire_decode('55c5ac2LsmLsm88c--5Eg8088cippLsmdimİİ'); Çıktısı Hello World!
*/