编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « sodium_crypto_generichash_final
  • sodium_crypto_generichash_keygen »
  • PHP Manual
  • Sodium 函数
  • Initialize a hash

sodium_crypto_generichash_init

(PHP 7 >= 7.2.0)

sodium_crypto_generichash_init — Initialize a hash

说明

sodium_crypto_generichash_init ([ string $key [, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES ]] ) : string

Warning

本函数还未编写文档,仅有参数列表。

参数

key

length

返回值

相关文章
php hash 函数 使用 hmac 方法和给定文件的内容生成带密钥的哈希值php mcve 函数 create and initialize an mcve conn structurephp openal 函数 initialize the openal audio layerphp sodium 函数 decrypt in combined mode with precalculationphp sodium 函数 encrypt in combined mode with precalculationphp sodium 函数 descriptionphp sodium 函数 randomly generate a secret key and a corresponding public keyphp sodium 函数 complete the hashphp sodium 函数 initialize a hashphp sodium 函数 add message to a hashphp sodium 函数 get a hash of the messagephp sodium 函数 get random bytes for keyphp sodium 函数 descriptionphp sodium 函数 get an ascii encoded hashphp sodium 函数 verifies that a password matches a hashphp sodium 函数 get an ascii encoded hashphp sodium 函数 get random bytes for keyphp sodium 函数 verify and decrypt a ciphertextphp sodium 函数 check that the signed message has a valid signaturephp sodium 函数 extract the public key from the secret key
关注编程学问公众号
编程学问网 湘ICP备20001732号