ZeppelinBot / Zeppelin

Zeppelin is a moderation bot for Discord, designed with large servers and reliability in mind.
https://zeppelin.gg/
Other
390 stars 192 forks source link

Question: What does KEY=32_character_encryption_key stand for?? #235

Closed CyberDudeJ closed 10 months ago

CyberDudeJ commented 3 years ago

Just wondering what KEY=32_character_encryption_key stands for

acdvs commented 3 years ago

It's a personal encryption key that's used with the crypto.createCipheriv method to encrypt values at rest.

harshfeudal commented 2 years ago

It's a personal encryption key that's used with the crypto.createCipheriv method to encrypt values at rest.

How can I use it? Do I need to generate it or where will I pick it?

almeidx commented 2 years ago

You just have to set it to a string with 32 characters

harshfeudal commented 2 years ago

I mean it is a string but where I collect that string? or will I need to do the same like OpenSSL? I'm sorry a lot because I'm a C++ Discord bot maker not a JS/TS so I may misunderstand :(

almeidx commented 2 years ago

Just make it up, or generate it randomly, does not matter. As long as it has 32 characters

harshfeudal commented 2 years ago

lmao okay I'll pick it randomly