温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/crypto/DecipherChaCha20Poly1305/setAutoPadding
点击访问原文链接

DecipherChaCha20Poly1305.setAutoPadding method | Node.js crypto module | Bun

DecipherChaCha20Poly1305.setAutoPadding method | Node.js crypto module | BunBuildDocsReferenceGuidesBlogDiscord/node:crypto/DecipherChaCha20Poly1305/setAutoPaddingMsetAutoPadding

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:crypto/DecipherChaCha20Poly1305/setAutoPaddingMsetAutoPadding

method

crypto.DecipherChaCha20Poly1305.setAutoPaddingsetAutoPadding(auto_padding?: boolean): this;

When data has been encrypted without standard block padding, calling decipher.setAutoPadding(false) will disable automatic padding to prevent decipher.final() from checking for and removing padding.

Turning auto padding off will only work if the input data's length is a multiple of the ciphers block size.

The decipher.setAutoPadding() method must be called before decipher.final().

@returns

for method chaining.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

DecipherChaCha20Poly1305.setAutoPadding method | Node.js crypto module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for method node:crypto.DecipherChaCha20Poly1305.setAutoPadding | Bun