Cipher
Cipher struct { Algorithm string json:"algorithm" KeyLengthBits int json:"keyLengthBits" IVB64Url stringjson:"ivB64Url" TagLengthBits int json:"tagLengthBits" CiphertextAndTagB64Url stringjson:"ciphertextAndTagB64Url" }
表示经过验证的 AES-GCM 密文区段。
属性
| 名称 | 类型 | 说明 |
|---|---|---|
Algorithm | string | Cipher 的 Algorithm 字段。 |
KeyLengthBits | int | Cipher 的 KeyLengthBits 字段。 |
IVB64Url | string | Cipher 的 IVB64Url 字段。 |
TagLengthBits | int | Cipher 的 TagLengthBits 字段。 |
CiphertextAndTagB64Url | string | Cipher 的 CiphertextAndTagB64Url 字段。 |
来源
此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。