Expand description
Bob wants to send a message to Alice, containing sensitive data. Bob uses Crypt4GH
, the Global Alliance approved secure method for sharing human genetic data.
crypt4gh, a Python tool to encrypt, decrypt or re-encrypt files, according to the GA4GH encryption file format.
To learn more about the format visit the Crypt4GH
CLI & Format Documentation
Modules
Crypt4GH
Errors.
Generate and parse a Crypt4GH
header.
Utility to read Crypt4GH-formatted keys.
Structs
Constants
Size of the encrypted segments.
Functions
Decrypts the content read using the keys provided.
Decrypts the specified content read using the keys provided.
Reads from the read_buffer
and writes the decrypted data to write_buffer
.
Reads from the read_buffer
and writes the encrypted data to write_buffer
.
Builds a header with a random session key
Encrypts a segment.
Reads from the read_buffer
and writes the rearranged data to write_buffer
.
Reads from the read_buffer
and writes the reencrypted data to write_buffer
.