As Simple Lib for encode / decode & hashing ( Exclusive Algorithm ):
کتابخانه ای ساده برای رمزنگازی / رمز گشایی و هش کردن (با الگوریتم اختصاصی):
<?php
include 'Bdr.php';
$bdr = new Bdr();
$str = "Hello";
// Hashing Method
echo "Hashed:\n";
echo $bdr->hash($str) . PHP_EOL;
// Encoding Method
echo "Encoded:\n";
echo $bdr->encode($str) . PHP_EOL;
// Decoding Method
echo "Decoded:\n";
echo $bdr->decode('|33|16|35|39|55|16|24|64|'); // |33|16|35|39|55|16|24|64| => Hello
?>
You can install our cli tool in your linux distro.
Run commands below in your terminal
$ git clone https://github.com/DevTomy/BDR
$ cd BDR/cli
$ chmod +x bdr
$ cp bdr ~/.local/bin/
Now we're ready to use it
$ bdr encode "Hello"
$ bdr decode "|33|16|35|39|55|16|24|64|"
- Encode & Decode By: @aryantdot
- Hash Algorithm & Library By: @DevTomy
- instagram: instagram.com/DinoSoft.ir
- WebSite: https://DinoSoft.ir