| 1 | import * as CryptoJS from "crypto-js" |
| 2 | |
| 3 | export interface EncryptionInterface { |
| 4 | getEncryptedString(data: string): string |
| 5 | decryptSecretString(secret: string): string | null |
| 6 | decryptEncSecret(entry: any): any | null |
| 7 | getEncryptionStatus(): boolean |
| 8 | updateEncryptionPassword(password: string): void |
| 9 | setEncryptionKeyId(id: string): void |
| 10 | getEncryptionKeyId(): string |
| 11 | } |
| 12 | |
| 13 | export class Encryption implements EncryptionInterface { |
| 14 | private password: string |
nothing calls this directly
no outgoing calls
no test coverage detected