Module lib

Description

No description yet.

Classes

DecryptedBuffer
ProcessingOver

Functions

body_decryptDecrypt the whole data portion
body_decrypt_partsDecrypt the data portion according to the edit list
cipher_chunkerSymmetric decryption - Chacha20_Poly1305
decryptDecrypt infile into outfile, using a given set of keys
decrypt_block
encryptEncrypt infile into outfile, using the list of keys
limited_outputGenerator that receives clear text and does not process more than limit bytes (if limit is not None)
rearrangeAdding or Updating an edit list in the header.
reencryptJust reencryption of the header Extract header packets from infile and generate another one to outfile

Variables

Variables (lib.py)

LOG = logging.getLogger(__name__)

int CIPHER_DIFF = 28

int CIPHER_SEGMENT_SIZE = [SEGMENT_SIZE](/master/api/crypt4gh/#SEGMENT_SIZE) + [CIPHER_DIFF](/master/api/crypt4gh/lib/#CIPHER_DIFF)

Source

Line 1 in crypt4gh/lib.py.






Add Discussion as Guest

Log in