跳到主要内容

Cipher

interface Cipher

表示经过验证的 AES-GCM 密文区段。

属性​

名称类型说明
algorithm"aes-gcm"Cipher 的 algorithm 字段。
ciphertextAndTagB64UrlstringCipher 的 ciphertextAndTagB64Url 字段。
ivB64UrlstringCipher 的 ivB64Url 字段。
keyLengthBits256Cipher 的 keyLengthBits 字段。
tagLengthBits128Cipher 的 tagLengthBits 字段。

来源​

此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。