@bicycle-codes/crypto-util
Preparing search index...
rsa
encrypt
Function encrypt
encrypt
(
msg
:
Msg
,
publicKey
:
string
|
CryptoKey
,
opts
?:
{
format
:
"base64"
}
,
charSize
?:
CharSize
,
hashAlg
?:
HashAlg
,
)
:
Promise
<
string
>
Parameters
msg
:
Msg
publicKey
:
string
|
CryptoKey
Optional
opts
:
{
format
:
"base64"
}
Optional
charSize
:
CharSize
Optional
hashAlg
:
HashAlg
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...