跳到主要内容

Cipher

Cipher struct { Algorithm string json:"algorithm" KeyLengthBits int json:"keyLengthBits" IVB64Url stringjson:"ivB64Url" TagLengthBits int json:"tagLengthBits" CiphertextAndTagB64Url stringjson:"ciphertextAndTagB64Url" }

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

属性​

名称类型说明
AlgorithmstringCipher 的 Algorithm 字段。
KeyLengthBitsintCipher 的 KeyLengthBits 字段。
IVB64UrlstringCipher 的 IVB64Url 字段。
TagLengthBitsintCipher 的 TagLengthBits 字段。
CiphertextAndTagB64UrlstringCipher 的 CiphertextAndTagB64Url 字段。

来源​

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