Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Encryption Services

This repository contains open source encryption algorithms that might help some other dev's out there in the world

About

Encryption is a useful tool when it comes to hiding your data (plain text), and protecting the data from bad actors.

How it works ?

This encryption algorithm works by hashing the individual charcters in a string with salting data, pepering data, indexing data and anchor data. Encryption is a two-way function that includes encryption and decryption whilst hashing is a one-way function that changes a plain text to a unique digest that is irreversible

What is Salting Data ?

Salting data comes from the implication of salting technique. Salting is a technique that adds random data, or a salt, to a hash string before hashing it to make hashed output more secure

What is Pepering Data ?

Pepering data is the direct output of the pepering technique. Peppering is a method of increasing the security of a hashed string by adding a secret value, called a pepper, to the string before hashing

What is Indexing Data ?

Index data is the output guide of which hash combination results. This helps reveal in the system which hash combination is which char.

Disclaimer

This encryption script is safer than using plaintext data, I Wont say its perfect but it gets the job done. Its not 100% secure, (not because the encryption scripts is public). but because there is never anything 100% secure especially if you can reverse the encryption.
This version of the encryption threading is only compatible with sha256, other hashing algorithms are not yet compatible with the decryption process.

Example

locate the example.php to preview the encryption services

<?php 
include_once "bin/services.php"; #Include The Encryption Service Classes

$e = new encryption_services('_AUTH_TOKEN_');
#Declare The Encryption Class

$enc_data = $e->encryption_threading('Hello World');
#This is the encryption procedure for the encryption threading

$output = $e->decryption_threading_1($enc_data);
#This is the decryption procedure for the encryption threading

echo $output; 

?>

About

This repository contains open source encryption algorithms that might help some other dev's out there in the world

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages