ooo I think this is the one nostr:npub1wqfzz2p880wq0tumuae9lfwyhs8uz35xd0kr34zrvrwyh3kvrzuskcqsyn tagged me in earlier in the week

Reply to this note

Please Login to reply.

Discussion

nostr:npub1qe3e5wrvnsgpggtkytxteaqfprz0rgxr8c3l34kk3a9t7e2l3acslezefe what do you think about wrapping a native and portable C library to handle cryptography stuff?

😶 Doing that is beyond my current skills as a regular webdeveloper...but I'm open to learn about it. I know PHP is compiled from C, but I have never done a thing with C so it's all unknown to me. What will be all the benefits of doing this?

Well, I'm shilling my noscrypt library :) full disclosure. But really the idea is performance and leaving the tricky binary stuff under the C barrier. From experience I found it quite difficult to implement cryptographic primitives natively in PHP. That being said, I'm interested in building an extension library wrapper for PHP and am sort of gauging interest.

Noscrypt handles of the encryption specs, signatures of course, and I'm currently working on utilities to completely handle nip04 and nip44 utf8 string encryption.

Really interesting to discuss this more.

All the encryption / decrypting stuff is done in PHP at this moment (which I didn't write fyi). To do all these things on C level in a package would be a nice feature (it requires the ability to install this on the server I assume?)

Chip has an article coming up on this subject. Probably today.

Would love to! Noscrypt would have to be a wrapped in PHP plugin which I haven't played with more than hello world. So yes installed on the server just like any other plugin (mysqld, redis, memcached and so on)