1.0.1 • Published 3 days ago

crypt4gh_js v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

Crypt4GH-JS

Crypt4GH-JS is a JavaScript implementation of the standard file container format crypt4GH from the Global Alliance for Genomics and Health (GA4GH). Crypt4GH was developed to ensure secured storing and sharing of sensitive data.

Crypt4GH-JS has been implemented in JavaScript and is therefore applicable to all contemporary browser systems and offers all the prescribed parameters developed for Crypt4GH by the GA4GH.

Installation

Installation with npm:

Installation from git:

Usage

crypt4GH-JS can be used to generate keypairs, encrypt data, decrypt data, reencrypt data, rearrange data and to check if a file is on crypt4GH format.

Generate keys

Encrypt data

Decrypt data

Reencrypt data

Rearrange data

Check keyfiles

Check fileformat

Examples

Crypt4GH Specification

referring to: crypt4GH specification