interface Encryption { decrypt(password,
data): Promise<string>; encrypt(password,
data): Promise<string>; } Methods
decrypt
- decrypt(password, data): Promise<string>
Parameters
- password: string
- data: string
Returns Promise<string>
encrypt
- encrypt(password, data): Promise<string>
Parameters
- password: string
- data: string
Returns Promise<string>
An interface