[PHP Extension] Zodium: A libsodium OOP wrapper.

in #utopian-io7 years ago (edited)

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

Sort:  

Hey @hernandev! Thank you for the great work you've done!

We're already looking forward to your next contribution!

Fully Decentralized Rewards

We hope you will take the time to share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.me/utopian-io

Thank you for your contribution.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Updated with the coolest code highlight ever!!!

haha

Isso é muito nerd pra mim... Seria uma implementação de segurança de dados pra arquivos básicos de criptografia?


projeto #ptgram power | faça parte | grupo steemit brasil

Isso é uma biblioteca básica de criptografia @alyaugusto.

Basicamente ela tem várias funcionalidades, entre elas criptografia com chaves publicas e privadas e também com chaves secretas.

Cada módulo é usado para uma função diferente dentro do mundo da criptografia.

Essa biblioteca, libsodium já existe no PHP mas a interface de uso dela nõa é orientada a objetos.

Esse meu trabalho permite uma interface mais intuitiva na hora de usar.

Abraço!

Coin Marketplace

STEEM 0.22
TRX 0.24
JST 0.038
BTC 95076.63
ETH 3277.51
USDT 1.00
SBD 3.26