Libsodium “Call to undefined function sodium_randombytes_buf” [closed]

对着背影说爱祢 提交于 2019-12-02 00:09:56

There is no such function as sodium_randombytes_buf() the code in the example uses \Sodium\randombytes_buf().

Edit:

From the bug history: "The sodium_randombytes_* symbols have been removed a while back, as PHP now provide similar functions without this extension"

Bug #74896 sodium's .h defines some functions without .c implementation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!