(data: string)
| 20 | } |
| 21 | |
| 22 | getEncryptedString(data: string): string { |
| 23 | if (!this.password) { |
| 24 | return data |
| 25 | } |
| 26 | return CryptoJS.AES.encrypt(data, this.password).toString() |
| 27 | } |
| 28 | |
| 29 | decryptSecretString(secret: string): string | null { |
| 30 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected