Skip to content

Commit 19e3b5b

Browse files
committed
Remove hardcoded test key from encryption demo
1 parent 5d0583a commit 19e3b5b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lesson-02/demo-01-crypto/encryption-demo2.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Encrypt and decrypt data using AES-256-GCM with secure IV and key management
22
const crypto = require('crypto');
33

4-
const TEST_KEY_02 = "sk_live_4eC39HqLyjWDarjtT1zdp7dc";
5-
64
// Infosec best practices:
75
// - Use secure random key and IV generation
86
// - Store keys securely (not hardcoded or in source code)

0 commit comments

Comments
 (0)