阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js crypto decipher.setAAD

      Node.js crypto decipher.setAAD(buffer[, options])版本历史

      版本变更
      v7.2.0This method now returns a reference to decipher.
      v1.0.0新增于: v1.0.0
      • buffer < Buffer> ||
      • options < Object> stream.transform options
        • plaintextLength < number>
      • Returns:for method chaining.

      When using an authenticated encryption mode (GCM, CCM and OCB are currently supported), the decipher.setAAD() method sets the value used for the additional authenticated data (AAD) input parameter.

      The options argument is optional for GCM. When using CCM, the plaintextLength option must be specified and its value must match the length of the plaintext in bytes. See CCM mode.

      The decipher.setAAD() method must be called before decipher.update().


      更多内容请参考:Node.js crypto 加密,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录