UNPKG
@logismika/crypto
Version:
latest (0.5.0)
0.5.0
0.5.0-a4.0
0.5.0-a3
0.5.0-a2
0.5.0-a1
0.4.1
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
Crypto algorithms library
github.com/Logismika/crypto
Logismika/crypto
@logismika/crypto
/
build
/
types
/
kuznechik
/
encrypt.d.ts
4 lines
(3 loc)
•
225 B
TypeScript
View Raw
1
2
3
4
import
{
ExpandedKey
}
from
"./common"
;
export
declare
const
encrypt
:
(
key
:
string
|
Uint8Array
,
data
:
Uint8Array
) =>
Promise
<
Uint8Array
>;
export
declare
const
encryptBlock
:
(
key
:
ExpandedKey
,
blk
:
Uint8Array
) =>
Uint8Array
;