Secure the data of your sites by encrypting them. They will be decrypted only in your applications

Overview

PHP Crypter

Secure the data of your sites by encrypting them. They will be decrypted only in your applications

How to use ?

You just have to include the file vendor/autoload.php in the file (s) you want to use Encrypt Then to encrypt a data you use Encryption::encrypt(string $data, string $cipher_method,string $token) and to decrypt later you use the method : Encryption::decrypt()

  • Les deux méthodes prennent les mêmes arguments (3 arguments) 1- Le texte à inclure 2- La méthode de cryptage (AES-128-CBC est choisie par défaut) 3- Le token ou le mot de passe
  • Vous pouvez passer le texte à crypter uniquement à ces deux méthodes mais dans ce cas rassurez-vous d'avoir démarré la session avec session_start() ou bien avec La façade Sessison::start() qui est venue avec ce php-crypter.

Exemple

 
   use Simplecode\Facades\Session;
   use Simplecode\Encryption\Encryption;
   Session::start();
    require 'vendor/autoload.php'; 
// Encrypt the text "The only limit of a developer is his imagination"

$encrypt=Encryption::encrypt("The only limit of a developer is his imagination");
//You store the encrypted data in a file or in a database
//After you want to use it again on your site
//Get your text: $ encrypt and then decrypt it
$decrypt = Encryption::encrypt($encrypt);
//All right !

Information

The encryption method used by default is : AES-128-CBC Find all the methods here

You might also like...
A privacy respecting free as in freedom meta search engine for Google and popular torrent sites
A privacy respecting free as in freedom meta search engine for Google and popular torrent sites

A privacy respecting free as in freedom meta search engine for Google and popular torrent sites

Melek Berita Backend is a service for crawling data from various websites and processing the data to be used for news data needs.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

WeExpire is an opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured

WeExpire is an opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are

Samsui is a factory library for building PHP objects useful for setting up test data in your applications.

#Samsui Samsui is a factory library for building PHP objects useful for setting up test data in your applications. It is mainly inspired by Rosie for

Ask your friends to send you an anonymous message without knowing them

Ask your friends to send you an anonymous message without knowing them. 🤪😆😁🥳

Enforce that your classes get only instantiated by the factories you define!

Enforce that your classes get only instantiated by the factories you define!

A horrendous PM plugin to manually load all the chunks in your world without logging on. Only for the sole purpose of aiding in PM4 - DF world conversion.

ChunkLoader A horrendous PM plugin to manually load all the chunks in your world without logging on. Only for the sole purpose of aiding in PM4 - DF

Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files

Quality Hook Installer Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files Install

Jump is yet another self-hosted startpage for your server designed to be simple, stylish, fast and secure.
Jump is yet another self-hosted startpage for your server designed to be simple, stylish, fast and secure.

Jump Jump is yet another self-hosted startpage for your server designed to be simple, stylish, fast and secure. Features Fast, easy to deploy, secure

Releases(v1.0)
  • v1.0(Sep 1, 2022)

    Encryption key length is improved in security; The library officially launched Note It is possible to change the encryption key path (file or directory) where you want to store the secret key! It's a good idea to choose a very secure path All you have to do is define a constant called: ENC_TOKEN_PATH , in your project where our script can find it

    Source code(tar.gz)
    Source code(zip)
Owner
Claude Fassinou
Claude Fassinou
For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.

Super Admin All Sites Menu Also available at https://wordpress.org/plugins/super-admin-all-sites-menu/ Use | Prerequisite | Install | Filters | Demo |

Per Søderlind 18 Dec 17, 2022
PHP Japanese string helper functions for converting Japanese strings from full-width to half-width and reverse. Laravel Rule for validation Japanese string only full-width or only half-width.

Japanese String Helpers PHP Japanese string helper functions for converting Japanese strings from full-width to half-width and reverse. Laravel Rule f

Deha 54 Mar 22, 2022
salah eddine bendyab 18 Aug 17, 2021
Detect flaws in your architecture, before they drag you down into the depths of dependency hell ...

Detect flaws in your architecture before they drag you down into the depths of dependency hell ... What it does System Requirements Installation Phive

Michael Haeuslmann 507 Dec 27, 2022
Keep control over the complexity of your methods by checking that they do not have too many arguments.

php arguments detector The ideal number of arguments for a function is zero. ~ Robert C. Martin Keep control over the complexity of your methods by ch

DeGraciaMathieu 13 Dec 26, 2022
Allow players to see how well they are doing while pvping with the help of a combo counter

Combo-Counter Allow players to see how well they are doing while pvping with the help of a combo counter Settngs / Config #set to false if you dont wa

null 3 Jun 1, 2022
Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

TinyTidy for SilverStripe This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control whic

Jono Menz 30 Jul 30, 2020
QuestionApp - a platform where users can ask questions and discuss about the subject they are curious about

QuestionApp About The Project It can be a trend according to the number of likes and comments that members can ask questions. ![Alt Text] Ask your any

Tolga Bayrak 4 Oct 7, 2022
My intention with this app is that new developers can have a concrete application with Laravel + VueJS where they can use it as example to learn the right way

My intention with this app is that new developers can have a concrete application with Laravel + VueJS where they can use it as example to learn the right way, implementing the best practices possible and at the same time learn how TDD is done. So this will be an example application but completely usable for any similar case.

Eng Hasan Hajjar 2 Sep 30, 2022
All in one Video Downloader - Download videos from facebook twitter youtube tiktok and 1000+ other sites .. made by Vijay Kumar

VKRdownloader Video Downloader by @TherealVKR Vijay Kumar .... Download Video From YouTube , Facebook , Twitter , Instagram , TikTok , And 1000+ Other

Vijay Kumar 35 Dec 29, 2022