Skip to content

An Encryption, Decryption & BlindIndex Search bundle made with PHP. The purpose of this package is to help simplify the process of Cryptography using Sodium.

License

Notifications You must be signed in to change notification settings

Grant-Kellie/Cascade-Cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About Cascade Cryptography

An Encryption, Decryption & BlindIndex Search bundle made with PHP.
The purpose of this package is to help simplify the process of Cryptography using Sodium.

The Cryptography.php file contains AEAD_XCHACHA20_POLY1305_IETF Encryption and Decryption methods capiable of cryptographically securing and decrypting a range of data types.

Additionally, the Cryptography class offers methods to hash and salt passwords using the Argon2ID algorithm.

Security Issues

Warning For any security issue reports, please contact the author with the processed used for vulnerabilites discovered.
Do not report elsewhere.

General Issues

For all other issues with this file or bundle, please feel free to open a issue on Github or contact the author.

Document Notes

Created: 22 12 2021 - 01:45 GMT
Updated: 21 07 2022 - 01:51 GMT

Development State

[✔️] Symmetric Encryption
[❌] Asymmetric Encryption
[➖] Blind Index
[❌] Key Splitting
[➖] Side-Channel Attack Prevention
[✔️] Password Hashing & Salting
[➖] Unit Tests

Cipher Information

AEAD_XCHACHA20_POLY1305_IETF

see https://doc.libsodium.org/secret-key_cryptography/aead

Cipher Availability and interoperability

  • Key Size: 256 Bits
  • Nonce Size: 192 Bits
  • Block Size: 512 Bits
  • MAC size: 128 bits

Cipher Limitations

Max Bytes for a single (Key, Nonce): No Practical limits (~2^64 Bytes).
Max Bytes for a single Key: Up to 2^64* messages, no practical total size limits.

Security Notes

Sodium_bin2hex offers side-channel atteck attack mitigation.
see https://owasp.org/www-pdf-archive/Side_Channel_Vulnerabilities.pdf

Copyright

© 2022 Grant Kellie

About

An Encryption, Decryption & BlindIndex Search bundle made with PHP. The purpose of this package is to help simplify the process of Cryptography using Sodium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages