dchest / tweetnacl-js

Port of TweetNaCl cryptographic library to JavaScript
https://tweetnacl.js.org
The Unlicense
1.75k stars 292 forks source link

module in php #182

Closed sherifomran closed 4 years ago

sherifomran commented 4 years ago

is there any hope to have it as php module ?

i tried converting it using https://github.com/endel/js2php/ parser, but i don't know how to test it. could you please help.

thank you

dchest commented 4 years ago

No. But PHP 7.2 comes with libsodium extension, e.g. https://www.php.net/manual/en/function.sodium-crypto-box-seal.php

dchest commented 4 years ago

There's also https://github.com/paragonie/sodium_compat if you don't have libsodium extension.