GithubHelp home page GithubHelp logo

Comments (6)

paragonie-security avatar paragonie-security commented on June 12, 2024 2

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.

paragonie-security avatar paragonie-security commented on June 12, 2024

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.

akalongman avatar akalongman commented on June 12, 2024

@paragonie-security could you give me any suggestion what can I use on PHP?

from halite.

paragonie-security avatar paragonie-security commented on June 12, 2024

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.

akalongman avatar akalongman commented on June 12, 2024

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.

issekeG avatar issekeG commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.