Skip to content
/ BDR Public

PHP String Encode / Decode & Hasher library

Notifications You must be signed in to change notification settings

DevTomy/BDR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

📓 BDR Project

As Simple Lib for encode / decode & hashing ( Exclusive Algorithm ):

کتابخانه ای ساده برای رمزنگازی / رمز گشایی و هش کردن (با الگوریتم اختصاصی):

Usage

PHP Code Example

<?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
?>

CLI (Bash)

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|"

Contact us:

  • Encode & Decode By: @aryantdot
  • Hash Algorithm & Library By: @DevTomy
  • instagram: instagram.com/DinoSoft.ir
  • WebSite: https://DinoSoft.ir

About

PHP String Encode / Decode & Hasher library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published