Charm: A Framework for Rapidly Prototyping Cryptosystems
Charm is a framework for rapidly prototyping advanced cryptosystems. Based on the Python language, it was designed from the ground up to minimize development time and code complexity while promoting the reuse of components.
Charm uses a hybrid design: performance intensive mathematical operations are implemented in native C modules, while cryptosystems themselves are written in a readable, high-level language. Charm additionally provides a number of new components to facilitate the rapid development of new schemes and protocols.
Features of Charm include:
Support for various mathematical settings, including integer rings/fields, bilinear and non-bilinear Elliptic Curve groups Base crypto library, including symmetric encryption schemes, hash functions, PRNGs Standard APIs for constructions such as digital signature, encryption, commitments A “protocol engine” to simplify the process of implementing multi-party protocols An integrated compiler for interactive and non-interactive ZK proofs Integrated benchmarking capability attribute based encryption, identity based encryption, pubilc key encryption, public key signature, commitment, hierarchical identity based encryption, group signature,