Skip to content

The-vinicius/encrypt-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encrypt-video

  • Encrypt files with python lib pycryptodome.
  • Django-Ninja, encrypting mp4 files with symmetric key.

Environment Variables

  • create a file called .env, add this line: KEY=your_secretkey

Install Dependencies

pip install -r requirements.txt

Run Project

  • in terminal run this command. uvicorn core.asgi:application --reload

EndPoints

  • Using the post method to send the mp4 file and the password (size 16). returns an encrypted .bin file. http://localhost:8000/api/encrypt

  • decrypt file, Using the post method to send the encrypted file with the key. returns the decrypted video. http://localhost:8000/api/decrypt

Docs openapi

AUTH

  • authenticate with your secretkey

encryt

ENCRYPT

encryt encryt zip

DECRYPT

decrypt decrypt mp4

About

Encrypt files with python lib pycryptodome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages