3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keypair = sodium_crypto_box_keypair(); $sk = sodium_crypto_box_secretkey($keypair); $pk = sodium_crypto_box_publickey($keypair); var_dump([ 'secret key' => bin2hex($sk), 'public key' => bin2hex($pk) ]); $pk_from_sk = sodium_crypto_scalarmult_base($sk); var_dump([ 'public key from secret key' => bin2hex($pk_from_sk) ]);
Output for 8.1.9
array(2) { ["secret key"]=> string(64) "2ef74a0666407b2184696b51069df55c659cc54f5713316d43066ff1814f0a1f" ["public key"]=> string(64) "81f604dfe382ecb7f80317cf631ba4174352a63429120e39969c0cfec49d7869" } array(1) { ["public key from secret key"]=> string(64) "81f604dfe382ecb7f80317cf631ba4174352a63429120e39969c0cfec49d7869" }
Output for 8.1.8
array(2) { ["secret key"]=> string(64) "fd3a1c6e866d114dcf7cc26cac8ed88963d156b7cb69610280635976d4210012" ["public key"]=> string(64) "97784a114971a5535cbe319e17be2bea10bcbca8668d77cabc2adb4ef4408c23" } array(1) { ["public key from secret key"]=> string(64) "97784a114971a5535cbe319e17be2bea10bcbca8668d77cabc2adb4ef4408c23" }
Output for 8.1.7
array(2) { ["secret key"]=> string(64) "24d8567a3fba62dfbb9d7ac163f17738a650a28b8c62e7cefff4887307acdf2c" ["public key"]=> string(64) "c51f2a75a497511e57532afc63d7ae83597cf9c209d1ce1d85303570a3588d79" } array(1) { ["public key from secret key"]=> string(64) "c51f2a75a497511e57532afc63d7ae83597cf9c209d1ce1d85303570a3588d79" }
Output for 8.1.6
array(2) { ["secret key"]=> string(64) "ee9cd9f28d0056e73fb3c99c74aa84ce96a6bee9a2647a1e4974373580bb3ef6" ["public key"]=> string(64) "3419870681c7b62cae2a7cf4d072790e8533824d1ff22e1ccfa8b73d35d53e4b" } array(1) { ["public key from secret key"]=> string(64) "3419870681c7b62cae2a7cf4d072790e8533824d1ff22e1ccfa8b73d35d53e4b" }
Output for 8.1.5
array(2) { ["secret key"]=> string(64) "ab61cfba11feffa651707b99afa2ab9f30f56c1c7b94e69c97818a7c2c90ce75" ["public key"]=> string(64) "05efd95695bede56c9842d360b6080e325e42528b1f88d5f9257fdbce4b36816" } array(1) { ["public key from secret key"]=> string(64) "05efd95695bede56c9842d360b6080e325e42528b1f88d5f9257fdbce4b36816" }
Output for 8.1.4
array(2) { ["secret key"]=> string(64) "6b22b80d91d373b5b21abb27d7dc6d22625b14dbeb4ceb4f30f24582ff377a1a" ["public key"]=> string(64) "e70043adf6e512856b34dc8d96f94e993b439fc906647960dfdb84b948cd884d" } array(1) { ["public key from secret key"]=> string(64) "e70043adf6e512856b34dc8d96f94e993b439fc906647960dfdb84b948cd884d" }
Output for 8.1.3
array(2) { ["secret key"]=> string(64) "59bbce065d91a719ae9d536f5b9386f1c169d5ae33be332b2707a39bce586c8e" ["public key"]=> string(64) "5c8e5e2816fdc9ddadd06f0b1ffb8b5b8e9c4c5bd381e089f577fd39e6265b27" } array(1) { ["public key from secret key"]=> string(64) "5c8e5e2816fdc9ddadd06f0b1ffb8b5b8e9c4c5bd381e089f577fd39e6265b27" }
Output for 8.1.2
array(2) { ["secret key"]=> string(64) "39103788323dbc479ec1be0f3f0c0563bb2c658d2f6f49055d5dfc8a9f07a534" ["public key"]=> string(64) "518ac97cdda368c403f407e8a5fc733760c537527287fba493f9c5e04ea70941" } array(1) { ["public key from secret key"]=> string(64) "518ac97cdda368c403f407e8a5fc733760c537527287fba493f9c5e04ea70941" }
Output for 8.1.1
array(2) { ["secret key"]=> string(64) "7ad0d096ba758bbb95aebde9d44f3552b1f13a189b6784d05f0ffcb608ac95c8" ["public key"]=> string(64) "adc6dabd22d492e7644130048ae399240167ba9951936964491c132d8155085d" } array(1) { ["public key from secret key"]=> string(64) "adc6dabd22d492e7644130048ae399240167ba9951936964491c132d8155085d" }
Output for 8.1.0
array(2) { ["secret key"]=> string(64) "dfb933d81b8ac46531334dbf9b781022e141c846746fef3dd3fc75899adc9e51" ["public key"]=> string(64) "6c2b220294ffb2d2cbf28e175084d00aa6e754e11ba257e870ce7efb64fc6762" } array(1) { ["public key from secret key"]=> string(64) "6c2b220294ffb2d2cbf28e175084d00aa6e754e11ba257e870ce7efb64fc6762" }
Output for 8.0.22
array(2) { ["secret key"]=> string(64) "b6a479d500742393eba78a77787be5246be54e332c9af87b4cec41d6c406e9ac" ["public key"]=> string(64) "b6086564a4930b03bca0b7ce42981ae87fca70e395c455d5b28570ed9ef23571" } array(1) { ["public key from secret key"]=> string(64) "b6086564a4930b03bca0b7ce42981ae87fca70e395c455d5b28570ed9ef23571" }
Output for 8.0.21
array(2) { ["secret key"]=> string(64) "f749dfeb3d53119316a1862b5d6ff758fdd873e02328d967cba1b3257083b9e7" ["public key"]=> string(64) "7b23167cddd7842f6a8b5e18317acf3fdef3739bc355104e79a14171d55fba50" } array(1) { ["public key from secret key"]=> string(64) "7b23167cddd7842f6a8b5e18317acf3fdef3739bc355104e79a14171d55fba50" }
Output for 8.0.20
array(2) { ["secret key"]=> string(64) "069aa74eb0fa10cbcc797654768b6607b26fcfd90ae2497e44d4470edc558323" ["public key"]=> string(64) "d77d3ec000243e7478d4e9dc5ef4a59cf7ff96e287f443828e67bce7d4d5b74c" } array(1) { ["public key from secret key"]=> string(64) "d77d3ec000243e7478d4e9dc5ef4a59cf7ff96e287f443828e67bce7d4d5b74c" }
Output for 8.0.19
array(2) { ["secret key"]=> string(64) "c3e6e592336564726c137057e6bd8b7a7caef4406fad2bb4afaea2d95da3f8a2" ["public key"]=> string(64) "3254928d9dad004dee2e63e145eacc1cba2089eb3797ae70215228f9923e2c1b" } array(1) { ["public key from secret key"]=> string(64) "3254928d9dad004dee2e63e145eacc1cba2089eb3797ae70215228f9923e2c1b" }
Output for 8.0.18
array(2) { ["secret key"]=> string(64) "ce52667905113a04dce45133e0af1ed3d55281d23c84aa3cbc4d35f2b951cbed" ["public key"]=> string(64) "6f8c8728c2b98796948e5e35a9b8879c68ee005dbb689f04c17ab57318090703" } array(1) { ["public key from secret key"]=> string(64) "6f8c8728c2b98796948e5e35a9b8879c68ee005dbb689f04c17ab57318090703" }
Output for 8.0.17
array(2) { ["secret key"]=> string(64) "d2c7c8b363a6b172fa1daa4e4ab4d3cdc64934156da399695b1287d26d0bfd57" ["public key"]=> string(64) "2424ce1584c79852f4f7a977375f762130b46f714fd50d0fdc77835091678849" } array(1) { ["public key from secret key"]=> string(64) "2424ce1584c79852f4f7a977375f762130b46f714fd50d0fdc77835091678849" }
Output for 8.0.16
array(2) { ["secret key"]=> string(64) "7ebf94f211214cb7d0cc21f32cc9475a46615ffe5affdc0ddfa86e00618cd876" ["public key"]=> string(64) "6c910560a5c3fd9715718d355768dfe51a436f7a5544327345c0bdb11c654e08" } array(1) { ["public key from secret key"]=> string(64) "6c910560a5c3fd9715718d355768dfe51a436f7a5544327345c0bdb11c654e08" }
Output for 8.0.15
array(2) { ["secret key"]=> string(64) "3137d21ba0f5cc8d235512d66a6e18e421114e78cb8f86afebadfc81dd60c4d6" ["public key"]=> string(64) "3a02fba6300e67ae2ed7469e7596f1ea01485959ace91a43761eadcf68e5c35d" } array(1) { ["public key from secret key"]=> string(64) "3a02fba6300e67ae2ed7469e7596f1ea01485959ace91a43761eadcf68e5c35d" }
Output for 8.0.14
array(2) { ["secret key"]=> string(64) "0ad6cdaf838735c335f4dbdd72934b4d6d00ac56102701bde340a0bd0a8f5b75" ["public key"]=> string(64) "7e18ffa70f2512f4ceea0d3302f931f949dce4cd41a426b2da872e0c24ed706f" } array(1) { ["public key from secret key"]=> string(64) "7e18ffa70f2512f4ceea0d3302f931f949dce4cd41a426b2da872e0c24ed706f" }
Output for 8.0.13
array(2) { ["secret key"]=> string(64) "4ed6047d775d68f7453f3132238d68eed7b303d99f4edba4fa8369973e4b8a79" ["public key"]=> string(64) "f9435060e125324ea97b78a17b9095fe5a37118ce2b6d7e74b881cc65c28e173" } array(1) { ["public key from secret key"]=> string(64) "f9435060e125324ea97b78a17b9095fe5a37118ce2b6d7e74b881cc65c28e173" }
Output for 8.0.12
array(2) { ["secret key"]=> string(64) "3284b6478b7c9e8319a3eb65993e2e39d169f9cb0252af31dcaccade86fbb109" ["public key"]=> string(64) "c9e7e777bc793c30ef5fac2fa3af27b619d4ed14cbd7b19f7e7853dfbf45f115" } array(1) { ["public key from secret key"]=> string(64) "c9e7e777bc793c30ef5fac2fa3af27b619d4ed14cbd7b19f7e7853dfbf45f115" }
Output for 8.0.11
array(2) { ["secret key"]=> string(64) "93e22b1f183415964634c6f32be997becbad210f213efe00f510b9ee4a942c93" ["public key"]=> string(64) "afcd9d4764eb8517b4ac613375ce31d37030d69f0e411edaae44b7c7927c252d" } array(1) { ["public key from secret key"]=> string(64) "afcd9d4764eb8517b4ac613375ce31d37030d69f0e411edaae44b7c7927c252d" }
Output for 8.0.10
array(2) { ["secret key"]=> string(64) "f7c1f781e1a3f2f0a136d3936270445e742ef2905af9892a3901241cf18a8171" ["public key"]=> string(64) "f2d4ce2a675d80d3afa80d40c76e756c64e2a5c3aa610e3de0c5ee2fed145c58" } array(1) { ["public key from secret key"]=> string(64) "f2d4ce2a675d80d3afa80d40c76e756c64e2a5c3aa610e3de0c5ee2fed145c58" }
Output for 8.0.9
array(2) { ["secret key"]=> string(64) "c0594bb6d521d462c48f23c15e9b4d29a8462b88da47a7d123b979d31021f845" ["public key"]=> string(64) "e4a58d98aef671fc999ce3c7bac58df86f5d455c53f76a217444ac34e9c4ac54" } array(1) { ["public key from secret key"]=> string(64) "e4a58d98aef671fc999ce3c7bac58df86f5d455c53f76a217444ac34e9c4ac54" }
Output for 8.0.8
array(2) { ["secret key"]=> string(64) "0a730d214ca427964c8a315a6d08361b2236ed8e13130283bd0f9b355a59718d" ["public key"]=> string(64) "eda7771931c9a87b3c01d3e603181a6b842d27e04cb2b050e66ad7e63ca64b33" } array(1) { ["public key from secret key"]=> string(64) "eda7771931c9a87b3c01d3e603181a6b842d27e04cb2b050e66ad7e63ca64b33" }
Output for 8.0.7
array(2) { ["secret key"]=> string(64) "9dc3ff0a84dd9bfd0d1bf749da33f08b83dfc87afee4ae116b643beaccf8dec2" ["public key"]=> string(64) "ae3aa6c40cf870e0917e401b8849727ae1682055837a030f13bc450707e6602d" } array(1) { ["public key from secret key"]=> string(64) "ae3aa6c40cf870e0917e401b8849727ae1682055837a030f13bc450707e6602d" }
Output for 8.0.6
array(2) { ["secret key"]=> string(64) "6c72b2fd00177565434284aae6776602bb9008e8e31e7bed421aad8c3d2c18ef" ["public key"]=> string(64) "5f9b30888edbcbfe5048bb6a0d2427b236a88a20bad5b02f07998c155c17fc30" } array(1) { ["public key from secret key"]=> string(64) "5f9b30888edbcbfe5048bb6a0d2427b236a88a20bad5b02f07998c155c17fc30" }
Output for 8.0.5
array(2) { ["secret key"]=> string(64) "543a906c96005a5e492b6ebaed6cbb930d4d201ce866b01734fcb39bb10b1f23" ["public key"]=> string(64) "d388324f2fbc3c4bcdfd51469078ff92b42753ebc6c14ac099924b9644747772" } array(1) { ["public key from secret key"]=> string(64) "d388324f2fbc3c4bcdfd51469078ff92b42753ebc6c14ac099924b9644747772" }
Output for 8.0.3
array(2) { ["secret key"]=> string(64) "1b89f6561dcb82b16976ef056bdb4e339903926c1fbb512d831a91c59afc4bd5" ["public key"]=> string(64) "7c33caaa3bf5e239dad8693bf3e3f2269bdf6a580085f0aa29f0ad7402a1c646" } array(1) { ["public key from secret key"]=> string(64) "7c33caaa3bf5e239dad8693bf3e3f2269bdf6a580085f0aa29f0ad7402a1c646" }
Output for 8.0.2
array(2) { ["secret key"]=> string(64) "58f55d58623bef0b23063e047034e4764c94b3dc0900d271dcf3b71b1be9f234" ["public key"]=> string(64) "0feca315adf42de8d20f3b547b149c0e5805cb77b32a048786131edd6ece4b22" } array(1) { ["public key from secret key"]=> string(64) "0feca315adf42de8d20f3b547b149c0e5805cb77b32a048786131edd6ece4b22" }
Output for 8.0.1
array(2) { ["secret key"]=> string(64) "55b68546cbc3a8518f1c1ed4424f81b9241d11b27e62c80fdb6cad5bb46ee01e" ["public key"]=> string(64) "ae8e8eebd08a0bb9267526c7b4c70638a532f6ec8c7a3fef99c9b2763894041b" } array(1) { ["public key from secret key"]=> string(64) "ae8e8eebd08a0bb9267526c7b4c70638a532f6ec8c7a3fef99c9b2763894041b" }
Output for 7.0.0 - 7.0.31, 7.1.0 - 7.1.22, 7.2.8 - 7.2.10, 8.0.0
Fatal error: Uncaught Error: Call to undefined function sodium_crypto_box_keypair() in /in/ZJNVT:3 Stack trace: #0 {main} thrown in /in/ZJNVT on line 3
Process exited with code 255.
Output for 7.4.30
array(2) { ["secret key"]=> string(64) "151c2ef0161c4f31b7f6bb3457b642cb018f7a338de8733e4a14dcf2ae5523de" ["public key"]=> string(64) "71fbdaa13cd5b9363628c2ab2ee97de6712d2034cf80db41a674f881e4280a56" } array(1) { ["public key from secret key"]=> string(64) "71fbdaa13cd5b9363628c2ab2ee97de6712d2034cf80db41a674f881e4280a56" }
Output for 7.4.29
array(2) { ["secret key"]=> string(64) "41b55dcffaa3b66cd832c47f1909c2dc76f63ebed7dc402a321581b9bf7ef4a4" ["public key"]=> string(64) "24b74d1a4a12bb0260de3011fc2370008f719c8f79790f51c286d6e6427f003e" } array(1) { ["public key from secret key"]=> string(64) "24b74d1a4a12bb0260de3011fc2370008f719c8f79790f51c286d6e6427f003e" }
Output for 7.4.28
array(2) { ["secret key"]=> string(64) "0d267fe41618076d29c45a1a499365526771b5db9468b6264f7b39cc050450cc" ["public key"]=> string(64) "c6296eab757ea9b65512d80d547ecc525b5caa56b5d26b53264669ee66104850" } array(1) { ["public key from secret key"]=> string(64) "c6296eab757ea9b65512d80d547ecc525b5caa56b5d26b53264669ee66104850" }
Output for 7.4.27
array(2) { ["secret key"]=> string(64) "9be8674ac14eb8d4d78a24c5f17998f60662f6424b7f5fb21f851df10f4f9c14" ["public key"]=> string(64) "c109c5e35159ea08caa0823785dba0ff58a8dec49776fc4f56e168c18a82ba4d" } array(1) { ["public key from secret key"]=> string(64) "c109c5e35159ea08caa0823785dba0ff58a8dec49776fc4f56e168c18a82ba4d" }
Output for 7.4.26
array(2) { ["secret key"]=> string(64) "19f47884cadb4aee61d54962c4cf0d407cb0beae018c8f4c9bad7e56556a4b2e" ["public key"]=> string(64) "5241ec2d01cf717f391efcdce43338f765ba8c0503476903cae739b307eae04f" } array(1) { ["public key from secret key"]=> string(64) "5241ec2d01cf717f391efcdce43338f765ba8c0503476903cae739b307eae04f" }
Output for 7.4.25
array(2) { ["secret key"]=> string(64) "dd4399b2721878e9b56449275309e5540a798ae19390edff6c5d9309a1e06952" ["public key"]=> string(64) "e7c4965e8613c2687c2718c5393a6a21d1854c7a2ba8e24369ef7d0c6092e657" } array(1) { ["public key from secret key"]=> string(64) "e7c4965e8613c2687c2718c5393a6a21d1854c7a2ba8e24369ef7d0c6092e657" }
Output for 7.4.24
array(2) { ["secret key"]=> string(64) "3b7f00549985d180f46b7cee711f772465993825098ae26aad4104d62cbbf447" ["public key"]=> string(64) "4b7c6b4b088735c8bcf9c67854b6e0275f5642b4f74ce3c561ba2fa01ec1b755" } array(1) { ["public key from secret key"]=> string(64) "4b7c6b4b088735c8bcf9c67854b6e0275f5642b4f74ce3c561ba2fa01ec1b755" }
Output for 7.4.23
array(2) { ["secret key"]=> string(64) "917022c3ccc57cb82a039bbb89878e4ca691ebe34cc3b6a3e12eab0376e085ce" ["public key"]=> string(64) "8a62b977c6672dbc963fa5835ad1ab4940ecc59db92fdf1f336d485fcb3d2c0b" } array(1) { ["public key from secret key"]=> string(64) "8a62b977c6672dbc963fa5835ad1ab4940ecc59db92fdf1f336d485fcb3d2c0b" }
Output for 7.4.22
array(2) { ["secret key"]=> string(64) "82184f5c018baef4754afa4c338b21bc591dab7f964d1fd1cf901109da529ab6" ["public key"]=> string(64) "f88325a0c520c7af9a14f63ed0162aaab4e4f2368616524e82d0014d7333b26a" } array(1) { ["public key from secret key"]=> string(64) "f88325a0c520c7af9a14f63ed0162aaab4e4f2368616524e82d0014d7333b26a" }
Output for 7.4.21
array(2) { ["secret key"]=> string(64) "70e84069925a2834da41e9e374fe6a906ac8c01cc095590dd673e2f2eeedb2d7" ["public key"]=> string(64) "df0a75be4b3ecd6a863e8edfa76158886efc07fca6cfb248d05ecb50f3d2613f" } array(1) { ["public key from secret key"]=> string(64) "df0a75be4b3ecd6a863e8edfa76158886efc07fca6cfb248d05ecb50f3d2613f" }
Output for 7.4.20
array(2) { ["secret key"]=> string(64) "ad2b10fb8a4e263be610393bb2706651a7924bcb04206732f6dda1afe79e2d32" ["public key"]=> string(64) "a44abc03fe31c68d0b4b02eb3f2a6ca25f0b36f2c2ffe7d3c72d179c9a4bd10b" } array(1) { ["public key from secret key"]=> string(64) "a44abc03fe31c68d0b4b02eb3f2a6ca25f0b36f2c2ffe7d3c72d179c9a4bd10b" }
Output for 7.4.16
array(2) { ["secret key"]=> string(64) "0d9f6209f6977d6c1659e6d7f277e03d77e3bc0151d04b70712f2fd47519d571" ["public key"]=> string(64) "a0cacd58747e02f666ca4880f8a81292a409d18249066c10cf1decd25ed15d5f" } array(1) { ["public key from secret key"]=> string(64) "a0cacd58747e02f666ca4880f8a81292a409d18249066c10cf1decd25ed15d5f" }
Output for 7.4.14
array(2) { ["secret key"]=> string(64) "ef90a224db96495203a241e76d112e425e7758a2e0ab4f159d76bb20b476c259" ["public key"]=> string(64) "07389ba23e3f98cefa7f9030c95a006bcf8db07f7bbda57fdcaee06838cf9117" } array(1) { ["public key from secret key"]=> string(64) "07389ba23e3f98cefa7f9030c95a006bcf8db07f7bbda57fdcaee06838cf9117" }
Output for 7.4.13
array(2) { ["secret key"]=> string(64) "9f22ae2b254f87918b073d276b118caeea68df099ee472b05edce380e96d9551" ["public key"]=> string(64) "68d43bab31b2fb88dee9ceabf8711785ad6e3608449cdd815952f9d05f412e67" } array(1) { ["public key from secret key"]=> string(64) "68d43bab31b2fb88dee9ceabf8711785ad6e3608449cdd815952f9d05f412e67" }
Output for 7.4.12
array(2) { ["secret key"]=> string(64) "665e5b01b2a38f7f2f210145b684b8fec7532b2772a394a9757adc118a491d70" ["public key"]=> string(64) "0a805b8e6af1082e3578b8aed8d02057550c324eb1c900906d9f2c3119cd5d7a" } array(1) { ["public key from secret key"]=> string(64) "0a805b8e6af1082e3578b8aed8d02057550c324eb1c900906d9f2c3119cd5d7a" }
Output for 7.4.11
array(2) { ["secret key"]=> string(64) "e2a404116babeb47c5f798237c1e3845b37455403df995174e46937fab75f9a2" ["public key"]=> string(64) "f5420a6d2a9dcf2173091727a6c40b48ed6803986b299d47d15b76c139ca8c60" } array(1) { ["public key from secret key"]=> string(64) "f5420a6d2a9dcf2173091727a6c40b48ed6803986b299d47d15b76c139ca8c60" }
Output for 7.4.10
array(2) { ["secret key"]=> string(64) "852c2c9130def9514ae24811382a519d28d3dcd27687b7f60dc8f67dfe4e2523" ["public key"]=> string(64) "0b164cb79674468dbd9720d3945543577fa285f8cb19f6d07d49aff7471ba76c" } array(1) { ["public key from secret key"]=> string(64) "0b164cb79674468dbd9720d3945543577fa285f8cb19f6d07d49aff7471ba76c" }
Output for 7.4.9
array(2) { ["secret key"]=> string(64) "ecff70a52c2f51dfbab839f10421c0d6ade6ef0f10802edb2d9d2c39c0487487" ["public key"]=> string(64) "a71d16b328ede3f714d810743625154e52724a388d83079f23a7d831b32a084e" } array(1) { ["public key from secret key"]=> string(64) "a71d16b328ede3f714d810743625154e52724a388d83079f23a7d831b32a084e" }
Output for 7.4.8
array(2) { ["secret key"]=> string(64) "a1af374015b9a9b14afb7bc90947f2cfc8e51b1c6e2f2e20033dc738e1ac8f50" ["public key"]=> string(64) "565399e99f09bd7410ec90bafcc6580fec42de11a9ee635e9149a740071d5905" } array(1) { ["public key from secret key"]=> string(64) "565399e99f09bd7410ec90bafcc6580fec42de11a9ee635e9149a740071d5905" }
Output for 7.4.7
array(2) { ["secret key"]=> string(64) "0012b53a1fa71733e78316fc54e17dc1b62d4d4c14bcf06a8d1f531ee30bd789" ["public key"]=> string(64) "5b2b99eeaa014cb596585e4811e4e061d346d34c471fbfe8ca0e806cb84e2923" } array(1) { ["public key from secret key"]=> string(64) "5b2b99eeaa014cb596585e4811e4e061d346d34c471fbfe8ca0e806cb84e2923" }
Output for 7.4.6
array(2) { ["secret key"]=> string(64) "1cf4a658a8fab47f82a44aeb2b674fbd1f1b6bcf545bc194231aade10f6c1338" ["public key"]=> string(64) "19df98ceab724934e7a206e5aaa060e72cba7532a7e6f70c3b70be1c1fbc8f75" } array(1) { ["public key from secret key"]=> string(64) "19df98ceab724934e7a206e5aaa060e72cba7532a7e6f70c3b70be1c1fbc8f75" }
Output for 7.4.5
array(2) { ["secret key"]=> string(64) "0c21b5bab116c40a26ccb57141be14a13798f0a5c5d5328c6c14d57d12a9d35d" ["public key"]=> string(64) "6adfd2cb71ad6b3330e1e33bdf2bf3486ce9ef3ff9530fcc3e077cebe57a4c28" } array(1) { ["public key from secret key"]=> string(64) "6adfd2cb71ad6b3330e1e33bdf2bf3486ce9ef3ff9530fcc3e077cebe57a4c28" }
Output for 7.4.4
array(2) { ["secret key"]=> string(64) "0f6f4537ded3443350ab3098c3e83917e0f2c9eb6929966b89fd3f97f5446ccb" ["public key"]=> string(64) "5989a7598634b593503d23bca69aa3357e9a2937186fd433e68f39bb40ae4a41" } array(1) { ["public key from secret key"]=> string(64) "5989a7598634b593503d23bca69aa3357e9a2937186fd433e68f39bb40ae4a41" }
Output for 7.4.0
array(2) { ["secret key"]=> string(64) "8f91c29fe32c860f292d5a2ed0cbde4d686efc6fb5d7028a7dcfec20e5f89e71" ["public key"]=> string(64) "7cd474c404e7970e19ad81879aafa0d24c52d4b400998da6622497aa9ae21a77" } array(1) { ["public key from secret key"]=> string(64) "7cd474c404e7970e19ad81879aafa0d24c52d4b400998da6622497aa9ae21a77" }
Output for 7.3.33
array(2) { ["secret key"]=> string(64) "8eeb2a1b09b99fd6386c4e8fb8f5b4c18b5fa397c927753ef6fba1c1ff3445ed" ["public key"]=> string(64) "1e0017d2b062df99d4a89edd2179f0caaaa25baa8f051b78a08637892fb7da5e" } array(1) { ["public key from secret key"]=> string(64) "1e0017d2b062df99d4a89edd2179f0caaaa25baa8f051b78a08637892fb7da5e" }
Output for 7.3.32
array(2) { ["secret key"]=> string(64) "ccf600303081f007476fa7450b4a94c569fb85ecae3e4e2d4a5ef9d58e917746" ["public key"]=> string(64) "0cf4b7a0bbffdecb44a78b6e09aa9233dcd041d9fcd1243c5b01178e87acb30b" } array(1) { ["public key from secret key"]=> string(64) "0cf4b7a0bbffdecb44a78b6e09aa9233dcd041d9fcd1243c5b01178e87acb30b" }
Output for 7.3.31
array(2) { ["secret key"]=> string(64) "9d3176f9bc16cdad5f2177e322f80665a33841bc780414d0ee65b058874d60f3" ["public key"]=> string(64) "68ca3a5b2ac9d11bf4dc36938b39d132939b1ed1dfedc6a3631981966fb5791e" } array(1) { ["public key from secret key"]=> string(64) "68ca3a5b2ac9d11bf4dc36938b39d132939b1ed1dfedc6a3631981966fb5791e" }
Output for 7.3.30
array(2) { ["secret key"]=> string(64) "3321d6aa8193cae09bdcd7116854fa409db13b5da3a731bdf23153d3b3dd84fb" ["public key"]=> string(64) "d2a2fe8e805c79d0fd7a22a29dbf7b5543c7fede4e91061e67a7293cc6f36365" } array(1) { ["public key from secret key"]=> string(64) "d2a2fe8e805c79d0fd7a22a29dbf7b5543c7fede4e91061e67a7293cc6f36365" }
Output for 7.3.29
array(2) { ["secret key"]=> string(64) "ca33dae0948865fb8c2381e79879b6fedaac292303314a395833e4707b151271" ["public key"]=> string(64) "400fe60efb8187bd0bdb7c4174c8599d68e300969a25597072aed56992b98130" } array(1) { ["public key from secret key"]=> string(64) "400fe60efb8187bd0bdb7c4174c8599d68e300969a25597072aed56992b98130" }
Output for 7.3.28
array(2) { ["secret key"]=> string(64) "8db371ecf2601f9e3c752427d224908702ced3fd98a693e3860c803a9791030c" ["public key"]=> string(64) "5b3b3d3b9d148aa4844471879ddad46395c37512fcc83034bc0b4dcac97bf51c" } array(1) { ["public key from secret key"]=> string(64) "5b3b3d3b9d148aa4844471879ddad46395c37512fcc83034bc0b4dcac97bf51c" }
Output for 7.3.26
array(2) { ["secret key"]=> string(64) "dfcb8616a1b6af5a4eadf87f8da200f940bc772c5326f9264869382334f706ca" ["public key"]=> string(64) "8e141b2e0458770003c3cea05ab75604411b61fb763871672a63da305ace1c63" } array(1) { ["public key from secret key"]=> string(64) "8e141b2e0458770003c3cea05ab75604411b61fb763871672a63da305ace1c63" }
Output for 7.3.24
array(2) { ["secret key"]=> string(64) "1c8e0ce4d21150ea5a1a92f64af62fab95df886b6a9b302ecec4a5cc07f011d7" ["public key"]=> string(64) "8be075fb6c0d71d221054e6b43a5e76a234c2445f16fbf0fd70c9e80c742cf66" } array(1) { ["public key from secret key"]=> string(64) "8be075fb6c0d71d221054e6b43a5e76a234c2445f16fbf0fd70c9e80c742cf66" }
Output for 7.3.23
array(2) { ["secret key"]=> string(64) "8ba0ce93c1de004173aeca1ed798663203d7a9a9e34561adbf6caa2c754c24a9" ["public key"]=> string(64) "6b6451e08f8f596653f9be472975e4e676021c08bbe7020f6c254932f2c1aa7b" } array(1) { ["public key from secret key"]=> string(64) "6b6451e08f8f596653f9be472975e4e676021c08bbe7020f6c254932f2c1aa7b" }
Output for 7.3.21
array(2) { ["secret key"]=> string(64) "d46ddc9a10ac163358a52e54e28692eade02ab59ed0dd8151f579379b037e883" ["public key"]=> string(64) "2577a9cccb9369903cfda257b519e4066c78447b1858b003747f917d52c45f5c" } array(1) { ["public key from secret key"]=> string(64) "2577a9cccb9369903cfda257b519e4066c78447b1858b003747f917d52c45f5c" }
Output for 7.3.20
array(2) { ["secret key"]=> string(64) "fcd72fe10231a494a50c7dfcdf2ce4778b99b6858fffe37ae90808cb4050e968" ["public key"]=> string(64) "75fa02052b2acd4826f7df1169be65b6ea92f1a18ae8547c5dcb3722f53f8905" } array(1) { ["public key from secret key"]=> string(64) "75fa02052b2acd4826f7df1169be65b6ea92f1a18ae8547c5dcb3722f53f8905" }
Output for 7.3.19
array(2) { ["secret key"]=> string(64) "af0af5a2daa4cf2aa951fd3f78e68d5b43dcfa3b591892a38330b2010fd46fc0" ["public key"]=> string(64) "a4151a8033366ad50b78bf57ac95578f5d800685a7cf731489a9ca6d93182773" } array(1) { ["public key from secret key"]=> string(64) "a4151a8033366ad50b78bf57ac95578f5d800685a7cf731489a9ca6d93182773" }
Output for 7.3.18
array(2) { ["secret key"]=> string(64) "4af87637de794133f53456597863bd1a47c46f73143b30d608e24ebbbf65dac6" ["public key"]=> string(64) "3da96c44fa19fe102f1b609f7f334f721d05333fdcfaee0a2a3c06c4b2a0de63" } array(1) { ["public key from secret key"]=> string(64) "3da96c44fa19fe102f1b609f7f334f721d05333fdcfaee0a2a3c06c4b2a0de63" }
Output for 7.3.17
array(2) { ["secret key"]=> string(64) "b9bdce155d089e1b6e5f603a89209a179e99d285429282a2262afd22ca827446" ["public key"]=> string(64) "f1e161b6ebf2b1b27ced2e8fa6ade58ba3af03d14ed110b0f7a64622fc7d884b" } array(1) { ["public key from secret key"]=> string(64) "f1e161b6ebf2b1b27ced2e8fa6ade58ba3af03d14ed110b0f7a64622fc7d884b" }
Output for 7.3.16
array(2) { ["secret key"]=> string(64) "9045135de4207d5bbdc5f75a996025acd5e303c6e64defe2530f476a6849ffb0" ["public key"]=> string(64) "c8c88ea98edd825b0d179ca1e2e77b816a38b99362bb50930b4aa21067ba0d1e" } array(1) { ["public key from secret key"]=> string(64) "c8c88ea98edd825b0d179ca1e2e77b816a38b99362bb50930b4aa21067ba0d1e" }
Output for 7.2.33
array(2) { ["secret key"]=> string(64) "cbd792eef9abf61d68bcaf2f515e0a000d3e152850506b0872f93a1dafc52368" ["public key"]=> string(64) "0ce82ecbc15be6e640a19558c7bd21a853706f124d0905d7bea05f76ee0e002f" } array(1) { ["public key from secret key"]=> string(64) "0ce82ecbc15be6e640a19558c7bd21a853706f124d0905d7bea05f76ee0e002f" }
Output for 7.2.32
array(2) { ["secret key"]=> string(64) "887b55ff043c119cbee6736f962344cfa81c855380582db9a370b64c71264eaa" ["public key"]=> string(64) "d23f08bfcddbbce2dd5bd323cf0abf74b03a1def91f49a9e4bb04de0fdb1ed0b" } array(1) { ["public key from secret key"]=> string(64) "d23f08bfcddbbce2dd5bd323cf0abf74b03a1def91f49a9e4bb04de0fdb1ed0b" }
Output for 7.2.31
array(2) { ["secret key"]=> string(64) "bff20cfd944f49bbea09f3af97b7fa5d5bbf47878dcd41c6aad303b9c152eb0e" ["public key"]=> string(64) "89419519da605b7f193fba9173b6d1598ea9149dfa8bcc23c38d146756393a47" } array(1) { ["public key from secret key"]=> string(64) "89419519da605b7f193fba9173b6d1598ea9149dfa8bcc23c38d146756393a47" }
Output for 7.2.30
array(2) { ["secret key"]=> string(64) "1fcf7bb26e6fe3402a2ca270321cd2ad5e733474924305290f32b07828405604" ["public key"]=> string(64) "3fa7278896116847a1e084f7e0aea3712a239b86f987c4ef41e62af75b29107e" } array(1) { ["public key from secret key"]=> string(64) "3fa7278896116847a1e084f7e0aea3712a239b86f987c4ef41e62af75b29107e" }
Output for 7.2.29
array(2) { ["secret key"]=> string(64) "79b7f3384d0647acef9b54f7c02acc0302a3b48683469fed6f559c7ce1f1e1bb" ["public key"]=> string(64) "c927df8557789fc6ab526fec8bdff005f8ae26873d001e007a6dc80fde2fac4d" } array(1) { ["public key from secret key"]=> string(64) "c927df8557789fc6ab526fec8bdff005f8ae26873d001e007a6dc80fde2fac4d" }
Output for 7.2.7
array(2) { ["secret key"]=> string(64) "254cd4d5fcc378ab0510a25d18d86c1bd2fb6fcce6827f7df30d3060386f90fa" ["public key"]=> string(64) "80a6d2e5eb9c16cda574105b64bedd432efbeb82ee096c4b2dcfeff794135c76" } array(1) { ["public key from secret key"]=> string(64) "80a6d2e5eb9c16cda574105b64bedd432efbeb82ee096c4b2dcfeff794135c76" }
Output for 7.2.6
array(2) { ["secret key"]=> string(64) "70c92dc2b668122eda0a3efb3879e1014ac8e151dfc525aaf2b76a7576ce9335" ["public key"]=> string(64) "68ccf4e504aa498ff072c00b2d05a7cdeb03693ff0fb6d82c996b704ed4ada10" } array(1) { ["public key from secret key"]=> string(64) "68ccf4e504aa498ff072c00b2d05a7cdeb03693ff0fb6d82c996b704ed4ada10" }
Output for 7.2.5
array(2) { ["secret key"]=> string(64) "5f2d306bf408e9449b3c5a482c4d7e33d9c8ad389ff0ee579d368bd510899d0a" ["public key"]=> string(64) "080e52141f0007d289a4691dfac4992fde51c4320e8d5809754ef14c8992f848" } array(1) { ["public key from secret key"]=> string(64) "080e52141f0007d289a4691dfac4992fde51c4320e8d5809754ef14c8992f848" }
Output for 7.2.4
array(2) { ["secret key"]=> string(64) "c7c40fa6f50771c6a9e7c19ea0aa754da53681161c7ef0d5902ca3f5b39b5baa" ["public key"]=> string(64) "5a6980c84fad25961d068ef00aae4e5516f14aa51a9c1d58aebc38271bf9325c" } array(1) { ["public key from secret key"]=> string(64) "5a6980c84fad25961d068ef00aae4e5516f14aa51a9c1d58aebc38271bf9325c" }
Output for 7.2.3
array(2) { ["secret key"]=> string(64) "0bf37ee935e88faff7c9bed707b575111012a1c03960f44c17abc10a6a3d018e" ["public key"]=> string(64) "580fe6728cfba5c3481309cff9cbfe4fde1824686c9be4010f76e906bc543975" } array(1) { ["public key from secret key"]=> string(64) "580fe6728cfba5c3481309cff9cbfe4fde1824686c9be4010f76e906bc543975" }
Output for 7.2.2
array(2) { ["secret key"]=> string(64) "7e646e5cbb34d8084b1e1446ff9cd73415d81ea9c5f8bc0bd80190e768b2103b" ["public key"]=> string(64) "067da84fa6d356d090cbb9e1810e74297f3301eecffe083864b2925b73668476" } array(1) { ["public key from secret key"]=> string(64) "067da84fa6d356d090cbb9e1810e74297f3301eecffe083864b2925b73668476" }
Output for 7.2.1
array(2) { ["secret key"]=> string(64) "b1b666387f132d8f4ec59d0b04bcf4796ed3bd0f4d70aaa9ed6d79c9dd63e4cb" ["public key"]=> string(64) "cb0ad1bcbb7faaf78f03b4ed5db4852cb9a343a891657c4ba1044ef26f859819" } array(1) { ["public key from secret key"]=> string(64) "cb0ad1bcbb7faaf78f03b4ed5db4852cb9a343a891657c4ba1044ef26f859819" }
Output for 7.2.0
array(2) { ["secret key"]=> string(64) "2ffd75f041b131b0f69336feb62dfcefe35ce096bc37c6ef49523aa7364169b3" ["public key"]=> string(64) "33cb0b19bdce5043868bea0ba78fb2e87909974209172f3a8ac38fde22d3de1e" } array(1) { ["public key from secret key"]=> string(64) "33cb0b19bdce5043868bea0ba78fb2e87909974209172f3a8ac38fde22d3de1e" }
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Fatal error: Call to undefined function sodium_crypto_box_keypair() in /in/ZJNVT on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/ZJNVT on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[', expecting ')' in /in/ZJNVT on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/ZJNVT on line 7
Process exited with code 255.

preferences:
197.2 ms | 564 KiB | 5 Q