PHP Classes

File: example_de-scramble.php

Recommend this page to a friend!
  Classes of Robert Amigura   Scramble Eggs   example_de-scramble.php   Download  
File: example_de-scramble.php
Role: Example script
Content type: text/plain
Description: example descramble
Class: Scramble Eggs
Scramble text adding fake characters
Author: By
Last change: updated to php 5
Date: 14 years ago
Size: 843 bytes


Class file image Download
scramble and descramble values with fake text and numbers patterns
this is an alternative to encryption.

author: Amigura

todo - add daily random patterns


include 'scramble_eggs.php';

// how much fake text to add
$len = '5';
// where to add fake text
$pattern = '3';
// text to descramble
$faketext = 'scrykkhnambzeudxle dlinmandtxvbv deblgwfscrcqczbambfiwefle r mzjvalgmmfjuesmqbjm wizspntth jeovvfakicrdce t qsyuextudrtz ankrjmvd ngiotoumbhbmkcersxyqym pa zbxzttetvvpdrnseosgq, tuqbijhisfoqgb iseqpbe sovyj p cozubxpol.meimewloir';

// call class
$descramble_it = new scramble_text;

// descramble text
echo '<br><strong>Descrambled text</strong><br>';