Skip to content

@keymaster/connect / CipherEncryptResult

Interface: CipherEncryptResult ​

cipher.encrypt 成功结果。

Properties overview ​

PropertyTypeRequiredDescription
nonceBinaryFieldYes本次加密随机生成的 12 字节 nonce。
cipherbytesBinaryFieldYesAES-GCM 密文字节(含认证 tag)。

Properties ​

nonce ​

nonce: BinaryField

本次加密随机生成的 12 字节 nonce。


cipherbytes ​

cipherbytes: BinaryField

AES-GCM 密文字节(含认证 tag)。

使用能力,不托管私钥。