2017 © Pedro Pelรกez
 

project setara

A trivial way for hiding text from simple view.

image

novia713/setara

A trivial way for hiding text from simple view.

  • Saturday, December 17, 2016
  • by novia713
  • Repository
  • 2 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

๐Ÿ‘ setara ๐Ÿ™ˆ

๐Ÿ™ˆ Setara is a php class for hiding texts from simple view, (*1)

CAUTION: this is NOT strong encryption use this only for disabling simple view reading texts not for encryption, this is not serious ^^, (*2)

Instantiation

require __DIR__ . "/vendor/autoload.php";
use Novia713\Setara\Setara;

// Provide as argument a capitalized name of a 1st gen Pokemon
$setara = new Setara("Lapras");

Hide

$setara->enc($my_string);

Reveal

$setara->dec($my_string);

Explanation

This simply uses chr() and ord() to convert letters to numbers, using a Pokemon name as seed for displacement., (*3)

I would use this only for standard and common ascii letters., (*4)

Examples

For example, "Hallo" string using "Bulbasaur" as Pokemon seed reads as 73 98 109 109 112, (*5)

"Hallo" string using "Mew" as Pokemon seed reads as 223 248 259 259 262, (*6)

This way you can't read the string on simple viw. That's it!, (*7)

The Versions

17/12 2016

dev-master

9999999-dev

A trivial way for hiding text from simple view.

  Sources   Download

GPL-2

The Development Requires

by Avatar Leandro