(plaintext: string)
| 17 | * @returns Encrypted string in format iv:authTag:encrypted |
| 18 | */ |
| 19 | export function encryptPromoCode(plaintext: string): string { |
| 20 | return encryptWithSymmetricKey(plaintext, getEncryptionKey()); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Decrypts an encrypted promo code. |
nothing calls this directly
no test coverage detected