Closed someburner closed 6 years ago
We got something going here.
Oh, wow, this is neat!
Having bindings for all major languages is definitely needed. I started with Rust, but JS and PHP were obviously planned to be next.
PHP is by far the worst language to write bindings for, so I kept postponing it. But indeed, these should be pretty close to the libsodium ones, so quite a lot of code can just be reused.
Thanks for kicking this off!
Np! thanks for libsodium + libhydrogen :+1:
(edit: I take 0 credit, I'm just the instigator)
@jedisct1 - Made some progress on python, it's up here: https://github.com/someburner/pyhy
Only thing I had an issue with so far is cffi not liking _hydro_attr_warn_unused_result_
and other method attributes. Not a big deal but it would be nice to source the file verbatim, so I'll try to see if there's any way around that that's clean.
Added a demo with mqtt: https://github.com/someburner/pyhy/tree/master/demo
far enough to be added to the bindings wiki page?
thanks!
Great work, thank you!
I will take a look at creating bindings for Node.js or porting it to plain JS today and tomorrow. I have never done this before, wish me luck ;-)
Awesome! Good luck, Fabian!
Me again- I ended up re-writing a bunch of my services in go, so I made go bindings here. I'm still sorta new to go, so feedback welcome.
@jedisct1 C# wrapper is here https://github.com/nxrighthere/Hydrogen-CSharp ❤️
Hi,
I'm hoping to use libhydrogen for an ESP8266-based project. I have successfully integrated most methods on the ESP, and wrote a C++ utility to sign/encrypt payloads for testing. But now we're working on integration and the lack of php or python bindings is unfortunate. I can probably write a python module, but neither I nor my colleague have experience writing a php extension from scratch. I thought phosphine would be at least a start, but it appears to be just a skeleton with nothing actually implemented.
Looking at your other repo libsodium-php it looks like there might be a good amount of overlap in a libhydrogen port. So, is there any effort or plans for a port for libhydrogen?