arunanshub/pyflocker ↗
Created Dec 27, 2020 · View the arunanshub/pyflocker repository page
Python Cryptographic (File Locking) Library
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
1
Lines of Code
617
From
May 8, 2020
To
Dec 7, 2020
About arunanshub/pyflocker
PyFLocker is a Python cryptographic library designed to simplify file encryption and symmetric/asymmetric cryptography operations. It provides a unified interface over two popular backend libraries—PyCryptodome(x) and pyca/cryptography—allowing developers to use cryptographic primitives without needing to manage the backends directly. The library aims to solve the problem of inconsistent and complex APIs across different cryptographic libraries by offering reasonable defaults and intuitive methods for common operations.
The library supports direct file encryption with various cipher modes (such as AES), encryption to file-like objects including BytesIO, and the ability to switch between backends seamlessly. PyFLocker handles backend loading internally, so users can focus on their cryptographic needs rather than library-specific implementation details. The project emphasizes stability and ease of use, offering a clear and memorable API that reduces the cognitive load of remembering complex imports and initialization patterns.
The project is targeted at Python developers who frequently work with file encryption and need a straightforward, reliable solution that abstracts away backend complexity while still providing access to well-established cryptographic primitives. It's distributed under the MIT license and includes comprehensive documentation with examples.