File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reference/sodium/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: f1e951b988e8aafe49b33bdf2f7812740c66c2d2 Maintainer: mumumu Status: ready -->
3
+ <!-- EN-Revision: 012af70e473cb3365637d6327114810d47e3de3d Maintainer: mumumu Status: ready -->
4
4
5
5
<refentry xml : id =" function.sodium-crypto-kx-keypair" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
6
<refnamediv >
53
53
$keypair = sodium_crypto_kx_keypair();
54
54
$secret = sodium_crypto_kx_secretkey($keypair);
55
55
$public = sodium_crypto_kx_publickey($keypair);
56
- printf("secret: %s\npublic: %s", bin2hex ($secret), bin2hex ($public));
56
+ printf("secret: %s\npublic: %s", sodium_bin2hex ($secret), sodium_bin2hex ($public));
57
57
?>
58
58
]]>
59
59
</programlisting >
You can’t perform that action at this time.
0 commit comments