[−][src]Crate crypt4gh
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
| header | Generate and parse a Crypt4GH header. |
| keys | Utility to read Crypt4GH-formatted keys. |
Structs
| Keys | Key information. |
| WriteInfo | Write buffer wrapper. |
Constants
| SEGMENT_SIZE | Size of the encrypted segments. |
Functions
| body_decrypt | Decrypts the content read using the keys provided. |
| body_decrypt_parts | Decrypts the specified content read using the keys provided. |
| decrypt | Reads from the |
| encrypt | Reads from the |
| encrypt_segment | Encrypts a segment. |
| rearrange | Reads from the |
| reencrypt | Reads from the |