(encrypted: string)
| 234 | } |
| 235 | |
| 236 | export function decryptActivationCode(encrypted: string): string { |
| 237 | const { iv, encryptedData } = JSON.parse(Buffer.from(encrypted, 'base64').toString('utf8')); |
| 238 | return decrypt(iv, encryptedData); |
| 239 | } |
no test coverage detected