【文件属性】:
文件名称:buffered-encryption:加密大型文件,而无需将整个文件加载到内存中
文件大小:9KB
文件格式:ZIP
更新时间:2021-03-07 22:46:03
Python
缓冲加密
安全地逐块加密大型数据文件。
该软件包在GCM模式下使用AES加密和解密文件流。
它依赖于加密库来执行加密。
big unencrypted file, verification data --> encrypt and sign --> encrypted file, iv, tag
big unencrypted file <-- decrypt and verify <-- encrypted file, iv, tag, verification data
例子
GCM模式下的AES
aesgcm模块提供了一种加密和解密整个文件的方法,而无需将整个内容加载到内存中。 它没有为加密文件提供类似文件的接口。
import os
from buffered_encryption . aesgcm import EncryptionIterator , Decrypti
【文件预览】:
buffered-encryption-master
----MANIFEST.in(138B)
----buffered_encryption()
--------utils.py(221B)
--------__init__.py(22B)
--------aesgcm.py(3KB)
--------tests()
--------aesctr.py(5KB)
----LICENSE(1KB)
----setup.cfg(87B)
----setup.py(1KB)
----README.md(3KB)
----.gitignore(94B)
----pyproject.toml(97B)