Home > Blockchain >  Encrypt/Hide sqlite3 database (Tkinter & Python)
Encrypt/Hide sqlite3 database (Tkinter & Python)

Time:06-09

I am currently working on a password saving application using tkinter, and I don't want the database to be visible/accesible from the computer's local storage. Is there a way to achieve this, or is there not.

P.S: I know that what I want is not super secure, but I am making this for fun :)

CodePudding user response:

You can try encrypting your database. I'm fairly sure sqlite doesn't offer encryption by default, you might need an extension like SQLCipher.

CodePudding user response:

If you are looking for a password verification system, you could use one-way hashes like Sha256 or a salted algorithm. If you need a password manager, you could use PyCryptoDomex to encrypt the user's password with a "master key" that the user has to remember. Then when you want to fetch a passcode, ask them for the master key again and use it to decrypt the password.

  • Related