Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/deno
index
DenoCryptoProvider
Class DenoCryptoProvider
Hierarchy (
View Summary
)
BaseCryptoProvider
DenoCryptoProvider
Implements
ICryptoProvider
Index
Constructors
constructor
Methods
create
Aes
Ctr
create
Aes
Ige
factorizePQ
gunzip
gzip
hmac
Sha256
initialize
pbkdf2
random
Bytes
random
Fill
sha1
sha256
Constructors
constructor
new
DenoCryptoProvider
()
:
DenoCryptoProvider
Returns
DenoCryptoProvider
Methods
create
Aes
Ctr
createAesCtr
(
key
:
Uint8Array
,
iv
:
Uint8Array
)
:
IAesCtr
Parameters
key
:
Uint8Array
iv
:
Uint8Array
Returns
IAesCtr
create
Aes
Ige
createAesIge
(
key
:
Uint8Array
,
iv
:
Uint8Array
)
:
IEncryptionScheme
Parameters
key
:
Uint8Array
iv
:
Uint8Array
Returns
IEncryptionScheme
factorizePQ
factorizePQ
(
pq
:
Uint8Array
)
:
[
Uint8Array
,
Uint8Array
]
Parameters
pq
:
Uint8Array
Returns
[
Uint8Array
,
Uint8Array
]
gunzip
gunzip
(
data
:
Uint8Array
)
:
Uint8Array
Parameters
data
:
Uint8Array
Returns
Uint8Array
gzip
gzip
(
data
:
Uint8Array
,
maxSize
:
number
)
:
null
|
Uint8Array
Parameters
data
:
Uint8Array
maxSize
:
number
Returns
null
|
Uint8Array
hmac
Sha256
hmacSha256
(
data
:
Uint8Array
,
key
:
Uint8Array
)
:
Uint8Array
Parameters
data
:
Uint8Array
key
:
Uint8Array
Returns
Uint8Array
initialize
initialize
()
:
Promise
<
void
>
Returns
Promise
<
void
>
pbkdf2
pbkdf2
(
password
:
Uint8Array
,
salt
:
Uint8Array
,
iterations
:
number
,
keylen
?:
number
,
algo
?:
string
,
)
:
Promise
<
Uint8Array
>
Parameters
password
:
Uint8Array
salt
:
Uint8Array
iterations
:
number
keylen
:
number
= 64
algo
:
string
= 'sha512'
Returns
Promise
<
Uint8Array
>
random
Bytes
randomBytes
(
size
:
number
)
:
Uint8Array
Parameters
size
:
number
Returns
Uint8Array
random
Fill
randomFill
(
buf
:
Uint8Array
)
:
void
Parameters
buf
:
Uint8Array
Returns
void
sha1
sha1
(
data
:
Uint8Array
)
:
Uint8Array
Parameters
data
:
Uint8Array
Returns
Uint8Array
sha256
sha256
(
data
:
Uint8Array
)
:
Uint8Array
Parameters
data
:
Uint8Array
Returns
Uint8Array
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Aes
Ctr
create
Aes
Ige
factorizePQ
gunzip
gzip
hmac
Sha256
initialize
pbkdf2
random
Bytes
random
Fill
sha1
sha256
Documentation - v0.19.5
Loading...