aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypt.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypt.js')
-rw-r--r--lib/crypt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypt.js b/lib/crypt.js
index 4037c28..5d3d79e 100644
--- a/lib/crypt.js
+++ b/lib/crypt.js
@@ -1,6 +1,6 @@
const crypto = require('crypto')
const algorithm = 'aes-256-ctr'
-const secretKey = 'QZmGk0WwHMIhDaIsgSqwdnrPjPM3VwN1'
+const secretKey = process.env.MYAPPS_NOTES_KEY
export const encrypt = (text) => {
const iv = crypto.randomBytes(16)