(key)
| 33 | } |
| 34 | |
| 35 | function isValidAES256Key(key) { |
| 36 | // Check if the key length is 64 hexadecimal characters (which represents 32 bytes) |
| 37 | return /^[a-f0-9]{64}$/i.test(key); |
| 38 | } |
| 39 | |
| 40 | function checkEncryptionKeys() { |
| 41 | const productionKey = process.env.CB_ENCRYPTION_KEY; |
no outgoing calls
no test coverage detected