Preparing search index...
The search index is not available
@bicycle-codes/crypto-util
@bicycle-codes/crypto-util
aes
encryptBytes
Function encryptBytes
encryptBytes
(
msg
:
Msg
,
key
:
string
|
CryptoKey
,
opts
?:
Partial
<
{
alg
:
SymmAlg
;
iv
:
ArrayBuffer
;
length
:
SymmKeyLength
}
>
,
charSize
?:
CharSize
,
)
:
Promise
<
CipherText
>
Parameters
msg
:
Msg
key
:
string
|
CryptoKey
Optional
opts
:
Partial
<
{
alg
:
SymmAlg
;
iv
:
ArrayBuffer
;
length
:
SymmKeyLength
}
>
charSize
:
CharSize
= DEFAULT_CHAR_SIZE
Returns
Promise
<
CipherText
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...