UNPKG
@altcha/crypto
Version:
latest (0.0.2)
0.0.2
0.0.1
A lightweight library simplifying asymmetric data encryption using Web Crypto
@altcha/crypto
/
cjs
/
dist
/
types.d.ts
7 lines
(6 loc)
•
209 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
type
TCurveName
=
'P-256'
|
'P-384'
|
'P-521'
;
export
type
THashName
=
'SHA-256'
|
'SHA-384'
|
'SHA-521'
;
export
interface
ICipherEncryptOptions
{
aesKeyLength
?:
number
;
aesIVLength
?:
number
; }