UNPKG
netpower-js
Version:
latest (1.0.1)
1.0.1
A common library that can be used for fe and be
netpower-js
/
lib
/
common
/
cipher.d.ts
5 lines
(4 loc)
•
154 B
TypeScript
View Raw
1
2
3
4
5
export
default
class
Cipher
{
static
encrypt
(
text:
string
, secret?:
string
):
string
;
static
decrypt
(
hash:
string
, secret?:
string
):
string
; }