noorani-mm/encoder-algorithm
最新稳定版本:v2.0.0
Composer 安装命令:
composer require noorani-mm/encoder-algorithm
包简介
This package provides a simple encryption and decryption functionality for securing sensitive information in your PHP applications. It offers easy-to-use methods for encrypting plaintext data into ciphertext and decrypting ciphertext back into its original plaintext form.
README 文档
README
This package provides a simple encryption and decryption functionality for securing sensitive information in your PHP applications. It offers easy-to-use methods for encrypting plaintext data into ciphertext and decrypting ciphertext back into its original plaintext form.
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.
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
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-25