Comments (6)
No, libsodium only uses Ed25519/X25519.
If you want something custom built, that's a service our company provides. Send us an email at [email protected] if you'd rather not discuss the details on a public Github issue.
from halite.
No, you cannot use other elliptic curves with Halite. Please only use keys generated by Halite with Halite.
The curve Halite uses is Ed25519 (for signatures) and X25519 (for key agreement).
from halite.
@paragonie-security could you give me any suggestion what can I use on PHP?
from halite.
What do you mean by what you can "use on PHP"?
Halite is a PHP library that makes encryption, signing, etc. drop-dead simple. It's very hard to screw Halite up.
If you want to use a nonstandard curve like Brainpool's in PHP, first explain why you need that curve in particular. Otherwise, this is an XY problem.
Do you need to interoperate with a specific appliance that only uses that curve? If so, demand the vendor of that appliance provide a library you can use.
Otherwise, stop worrying about weird curves and just use Ed25519/X25519, the elliptic curves for security. If you want an easy time using those in PHP, without ever having to delve in to the guts of an application, that's where Halite comes in. If you want to tinker, just use libsodium directly.
from halite.
Vendor provided only .Net/Java libraries :( So, I have to implement it myself on PHP.
Is it possible to use Brainpool using libsodium directly? Without Halite
from halite.
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 character","code":0,"file":"/var/www/app/vendor/paragonie/constant_time_encoding/src/Hex.php:144"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-08-07T09:24:45.052271+00:00","extra":{}}
from halite.
Related Issues (20)
- getKeyDataFromString hash validation fail HOT 8
- Invalid message authentication code HOT 1
- export/import string Asymmetric-Key Encryption keypair? HOT 3
- password protected secretKey? And: change password without changing publicKey? HOT 2
- Switch to ChaCha20 for symmetric encryption HOT 6
- What if you already have a RSA 2048 key and you want to use it instead of generating a new key? HOT 2
- Asymmetric authenticated file encryption/decryption HOT 3
- Create a different key pr environment HOT 3
- PHP 8.0 < 8.1 -- real slow due to XChaCha20 polyfill HOT 8
- halite for Python HOT 2
- php opcache.preload won't work because of conditional functions HOT 2
- Decrypting a file to output buffer fails HOT 1
- 'Expected hexadecimal character' exception from $cookie->fetch() after upgrade
- Is there a reason why the result of Symmetric::encrypt() always starts with 'MUIFA'? HOT 1
- Make use of PHP 8.2's #[\SensitiveParameter] to improve security
- Invalid message authentication code HOT 1
- invalid version tag when migrating from halite 4.8.0 to 5.1.0
- Uncaught PHP Exception RangeException: \"Expected hexadecimal character\ on symfony HOT 1
- Question: Can this library be used to decrypt Web Push Notifications from Mastodon?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halite.