Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Package @adityadarma/adonis-database-cryptable #106

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

adityadarma
Copy link
Contributor

Database encryption for V6

@RomainLanz
Copy link
Contributor

I have multiple questions about your package.

  1. It will work only for MySQL. Can you confirm that?
  2. You have rewritten your encryption driver. Why not use the one provided by AdonisJS?
  3. How can you search for encrypted data in your database? A correct implementation of an encryption driver should add random data to it.

@adityadarma
Copy link
Contributor Author

  1. For now only work with MySQL/MariaBD, next i will add PostgreSQL.
  2. What I use is different from the existing AdonisJS core. I do encryption at the database level, it will be different when doing database queries.
  3. I use an encryption mechanism at the database level, making it easier to query data to the database. I also created a function to query the database without encrypting the data first.
image image

I hope this answer helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants