halite
halite copied to clipboard
High-level cryptography interface powered by libsodium
First of all thank you for this comprehensive library and the libsodium guide, I've been deep diving into it lately and these really helped me to understand the library better!...
I placed a question at StackOverflow on how to[ Decrypt in Python a string encrypted in PHP with Halite/Libsodium](https://stackoverflow.com/questions/57761141/decrypt-in-python-a-string-encrypted-in-php-with-halite-libsodium), but I was wondering if it is ever possible... If so,...
I'm using `File::seal` to encrypt an uploaded file with a public key. I would like to decrypt it with `File::unseal` in a separate application using the correct private key, but...
- http://php.net/manual/en/class.sessionhandler.php - http://php.net/manual/en/class.sessionhandlerinterface.php It would cool if halite had a built in custom session handler that can be added just as doing. 'session_set_save_handler(new halite_session_class)'.
Does anyone have any suggestions how to handle really big strings? (mysql dumps is my use case) line 323 of ParagonIE\Halite\Symmetric\Crypto calls (string) ParagonIE\ConstantTime\Base64UrlSafe::encode(message) The output is truncated to 65534...
I am building a Reminder bot for Mastodon and want to use the Mastodon Web Push API for getting notifications and triggering the reminder-logic. I'm building the app in PHP....
hello, I get this error when I try to login. can you tell me the cause? [PHP-FPM ] {"message":"Uncaught PHP Exception RangeException: "Expected hexadecimal character" at /var/www/app/vendor/paragonie/constant_time_encoding/src/Hex.php line 144","context":{"exception":{"class":"RangeException","message":"Expected hexadecimal...
We've recently tried to upgrade our halite version from 4.8.0 to 5.1.0, but as soon as the upgrade finished we started receiving "invalid version tag" exceptions: ``` $symmetricKey = KeyFactory::deriveEncryptionKey(...
This is being triggered on the condition `$config->MAC_ALGO === 'BLAKE2b'` in`vendor/paragonie/halite/src/Symmetric/Crypto.php` I don't understand why this is being triggered It wouldn't be such a problem if vendor/paragonie/halite/src/Symmetric/Crypto.php wasn't `final` I...
https://www.php.net/manual/en/class.sensitiveparameter.php This issue is a suggestion.