lib/core/src/encryption/encryption.commons.ts
Properties |
|
Methods |
Abstract used |
Type : literal type
|
Abstract decrypt | ||||||
decrypt(str: string)
|
||||||
Parameters :
Returns :
Promise<any>
|
Abstract encrypt | ||||||
encrypt(data: any)
|
||||||
Parameters :
Returns :
Promise<string>
|
export abstract class EncryptionHandler {
abstract used : {
toEncrypt: number
toDecrypt: number
}
abstract encrypt(data: any) : Promise<string>
abstract decrypt(str : string) : Promise<any>
}