Jump to content

Are there any libraries for encrypting data in python?

L0m
Go to solution Solved by Fredrik Svantesson,
14 minutes ago, L0m said:

Oh my god I suck at explaining things, that's exactly what I want to do. Let me rephrase the original post

https://cryptography.io/en/latest/ 

 

That seems to be robust enough! 

Preferably pip install-able but github is fine as well.

I'm a python programmer and I play trombone

Link to comment
Share on other sites

Link to post
Share on other sites

What kind of encryption? Encrypted zipfile? Encrypted folders like with BitLocker? A fully encrypted filesystem like ecryptfs? A fully encrypted block device like dmcrypt?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Fredrik Svantesson said:

What kind of encryption? Encrypted zipfile? Encrypted folders like with BitLocker? A fully encrypted filesystem like ecryptfs? A fully encrypted block device like dmcrypt?

I used encryption lightly, really just anything that needs a password to access

I'm a python programmer and I play trombone

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, L0m said:

I used encryption lightly, really just anything that needs a password to access

How do you intend to use this? As in one-time pack it in an encrypted file, and then at a later moment unpack it, or do you need to do multiple reads and/or writes to the encrypted space? What's the usecase?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Fredrik Svantesson said:

How do you intend to use this? As in one-time pack it in an encrypted file, and then at a later moment unpack it, or do you need to do multiple reads and/or writes to the encrypted space? What's the usecase?

I was planning to encrypt/lock a file with sensitive data from a gui and when I need to access it again unlock it

I'm a python programmer and I play trombone

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, L0m said:

I was planning to encrypt/lock a file with sensitive data from a gui and when I need to access it again unlock it

Sounds like you just want to encrypt data and write it to a file.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Fredrik Svantesson said:

Sounds like you just want to encrypt data and write it to a file.

Oh my god I suck at explaining things, that's exactly what I want to do. Let me rephrase the original post

I'm a python programmer and I play trombone

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×