Skip to content

Home > sic-util > author_rsa

author_rsa() function

RSA数据加密处理,用于密码加密传输

Signature:

typescript
author_rsa: (pubKey: string, password: string) => string

Parameters

Parameter

Type

Description

pubKey

string

公钥

password

string

密码

**Returns:**

string

{String} 加密后的数据,吐出为十六进制

Released under the MIT License.