[PHP Extension] Zodium: A libsodium OOP wrapper.
New Project: Zodium PHP Extension.
This project is a PHP extension, written with Zephir to wrap the libsodium library in a object-oriented layer.
Basically, it aims to provide a clean, easy and safe alternative to the original bindings of the cryptographic library.
At this point, three API's are already available:
- Hashing with BLAKE2b.
- AEAD (Advanced Encryption with Associated Data).
- SecretBox (Secret-key authenticated encryption with XSalsa20 and Poly1305).
Usage:
The library aims to be really easy to use.
Hashing:
AEAD:
SecretBox:
Technology Stack:
- About libsodium:
Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password
hashing and more.
- About Zephir:
Zephir, an open source, high-level language designed to ease the creation and maintainability of
extensions for PHP with a focus on type and memory safety.
Roadmap:
Current features to be included are:
- Constant-time helpers and safe evaluation of sensitive values.
- Public-key Encryption.
- Stand-alone message authentication.
- Bind Zephir optimizers to calls on the libsodium directly.
- Documentation
- .phpt tests.
How to contribute?
- Join the PHP discussions over the Discord PHP channel @ SteemDevs
- Contact Telegram
- Open an Issue
- Engage on the post comments.
Posted on Utopian.io - Rewarding Open Source Contributors
Leave [PHP Extension] Zodium: A libsodium OOP wrapper. to:
Read more #utopian-io posts
Best Posts From Diego Hernandes
We have not curated any of hernandev's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Diego Hernandes
- Testing contribution one
- testing contribution testing ok ok ok
- testing title testing again
- testing title
- Pixie: IPFS integration, PHP-PM Server and Smart Browser Caching.
- Markdown-It Plugins: Proxy Image & Mixed HTML Fixer
- [codecasts/ambientum] Performance Improvements & Refactoring
- Pixie: Image/Avatar Proxy for Steem Applications.
- Steem-Verifier: Easy transaction signature verification.
- Invalid SBD unit for transfers
- [php-sodium] Bindings for detached AEAD functions
- [PHP Extension] Zodium: A libsodium OOP wrapper.
- LaravelAEAD: Advanced Encryption with Associated Data (XChacha20-Poly1305-IETF and others)
- PHP OAuth Client for SteemConnect - Token Refresh and Token Encoding/Decoding
- SteemContext: Save time switching Steem apps with this Chrome Extension!
- PHP Steem Apps with Steem Connect and Laravel - Part II: Steem Configuration and Service Provider
- PHP Steem Apps with Steem Connect and Laravel - Part I: Initial Setup
- PHP-ALPINE: Base Images; Mailparse and secp256k1 Support.
- PHP-ALPINE: Package conflicts and extension fixes.
- SteemConnect SDK for PHP [RC1] - 100% Unit Test Coverage