Skip to content

@vtjDocs


@vtj / base / RSA

Function: RSA()

RSA(content, key): string | false

非对称加密

Parameters

content: string

内容

key: string = RSA_PUBLIC_KEY

公钥

Returns

string | false

Description

RSA密钥对生成工具

Defined in

packages/base/src/crypto.ts:54

Released under the MIT License.