Preparing search index...
The search index is not available
Occulto - v2.0.6
Occulto
RSA
Class RSA
Index
Constructors
constructor
Methods
decrypt
encrypt
generate
Key
Pair
Constructors
constructor
new RSA
(
)
:
RSA
Returns
RSA
Methods
Static
decrypt
decrypt
(
data
,
key
)
:
Promise
<
TypedArray
>
Parameters
data
:
TypedArray
key
:
string
Returns
Promise
<
TypedArray
>
Static
encrypt
encrypt
(
data
,
key
)
:
Promise
<
TypedArray
>
Parameters
data
:
TypedArray
key
:
string
Returns
Promise
<
TypedArray
>
Static
generate
Key
Pair
generate
Key
Pair
(
bits
?
)
:
Promise
<
{
private
:
string
;
public
:
string
;
}
>
Parameters
bits
:
number
= ...
Returns
Promise
<
{
private
:
string
;
public
:
string
;
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
decrypt
encrypt
generate
Key
Pair
Occulto - v2.0.6
Hashes
Modes
AES
Base64
Bytes
Hash
Hex
RSA
KeyData
TypedArray
getRandomBytes
"
"