@ 2019-07-16T13:31:43Z <?php
echo bin2hex(sodium_crypto_box_publickey_from_secretkey(pack('H*', '6A2CB91DA5FB77B12A99C0EB872F4CDF4566B25172C1163C7DA518730A6D0770'))) . "\n"; // IETF Draft
echo bin2hex(sodium_crypto_box_publickey_from_secretkey(pack('H*', '77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a'))) . "\n"; // IETF RFC
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.32 , 8.0.1 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 69b8d0233917d50894e037a7e1ccc214efa0469749c754303983f1fcd6fcdc66
8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a
Output for 7.1.25 - 7.1.30 , 7.4.33 , 8.0.0 Fatal error: Uncaught Error: Call to undefined function sodium_crypto_box_publickey_from_secretkey() in /in/i61aE:3
Stack trace:
#0 {main}
thrown in /in/i61aE on line 3
Process exited with code 255 . preferences:dark mode live preview
134.32 ms | 402 KiB | 171 Q