Crypt4GH utility

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.

How Crypt4GH works

Alice and Bob generate both a pair of public/private keys.

crypt4gh-keygen --sk alice.sec --pk alice.pub
crypt4gh-keygen --sk bob.sec --pk bob.pub

Bob encrypts a file for Alice:

$ crypt4gh encrypt --sk bob.sec --recipient_pk alice.pub < file > file.c4gh

Alice decrypts the encrypted file:

$ crypt4gh decrypt --sk alice.sec < file.c4gh
Demo

Table of Contents

Build Status | Version Version 1.6 | Generated August 09, 2023