Database Encryption
See original GitHub issueAnother requirement from the Discord Developer Terms is that the database information is encrypted at rest (should not be stored as plain-text in the database). When we migrate to MongoDB, I can recommend the use of mongoose
with mongoose-encrypt
to seamlessly implement this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Database encryption - Wikipedia
Database encryption can generally be defined as a process that uses an algorithm to transform data stored in a database into "cipher text"...
Read more >Types of Database Encryption Methods - N-able
With database encryption, an encryption algorithm transforms data within a database from a readable state into a ciphertext of unreadable ...
Read more >Database (DB) Encryption - Everything You Need to Know
An encryption algorithm changes information into incomprehensible characters through a mathematical process. While other security tools protect a system ...
Read more >Transparent data encryption (TDE) - SQL Server
Transparent data encryption (TDE) encrypts SQL Server, Azure SQL Database, and Azure Synapse Analytics data files. This encryption is known ...
Read more >Database Encryption: Why and Where You Need to Have ...
Data encryption is a process of encoding the data. It is mainly a two-way function, which means encrypted data has to be decrypted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I rolled
mongoose-encrypt
into my own Discord bot. Remarkably easy to set up, and handles encryption+decryption automatically.Some concerns:
serverID
field decrypted on my data, as that’s how I index things).findAndUpdate
andfindOneAndUpdate
methods of mongoose do not play well with the encryption. I personally usefind
, make the changes, thensave
.Thank you! Moved to the API https://github.com/EddieHubCommunity/api/issues/156