Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@Noorani-MM Noorani-MM released this 29 Mar 02:24

Features 🔧

  • Ease of Use: Simple and straightforward API for encryption and decryption operations.
  • Well-Documented: Comprehensive documentation and usage examples to help you get started quickly.
  • Bug in encryption and decryption fixed.
  • Classes renamed.
  • Unnecessary classes removed.
  • Usage updated.
  • Documentation updated.

How to install

composer require noorani-mm/encoder-algorithm

How to use ⚒️

Encrypting Content

To encrypt content, use the Encrypt method:

$content = "Your content here";
$encrypted_content = CryptoHandler::Encrypt($content);
echo $encrypted_content; // a6908a8ddf9c90918b9a918bdf979a8d9a

Decrypting Content

To decrypt content, use the Decrypt method:

$hex = "a6908a8ddf9c90918b9a918bdf979a8d9a";
$decrypted_content = CryptoHandler::Decrypt($hex);
echo $decrypted_content; // Your content here

Read more
Full Changelog: v1.0.0...v2.0.0