跳到主要内容

aesEncrypt()

function aesEncrypt(text): Promise<{
cipherText: string;
iv: string;
key: string;
}>;

Defined in: crypto/aesEncrypt.ts:28

AES 加密

Parameters

ParameterTypeDescription
textstring明文

Returns

Promise<{ cipherText: string; iv: string; key: string; }>

加密结果