Diego Hernandes avatar

[PHP Extension] Zodium: A libsodium OOP wrapper.

hernandev

Published: 23 Apr 2018 › Updated: 23 Apr 2018[PHP Extension] Zodium: A libsodium OOP wrapper.

[PHP Extension] Zodium: A libsodium OOP wrapper.

Untitled.png

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:

image.png

AEAD:

image.png

SecretBox:

image.png

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:

Written by

Rover, wanderer, nomad, vagabond.. Call me what you will.

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