Coder Social home page Coder Social logo

iq-scm / circl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudflare/circl

0.0 0.0 0.0 13.04 MB

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library

Home Page: http://blog.cloudflare.com/introducing-circl

License: Other

C 2.12% Go 76.05% Assembly 21.76% Awk 0.01% Makefile 0.07%

circl's Introduction

CIRCL

GitHub release CIRCL GoDoc Go Report Card codecov

CIRCL (Cloudflare Interoperable, Reusable Cryptographic Library) is a collection of cryptographic primitives written in Go. The goal of this library is to be used as a tool for experimental deployment of cryptographic algorithms targeting Post-Quantum (PQ) and Elliptic Curve Cryptography (ECC).

Security Disclaimer

🚨 This library is offered as-is, and without a guarantee. Therefore, it is expected that changes in the code, repository, and API occur in the future. We recommend to take caution before using this library in a production application since part of its content is experimental. All security issues must be reported, please notify us immediately following the instructions given in our Security Policy.

Installation

You can get CIRCL by fetching:

go get -u github.com/cloudflare/circl

List of Algorithms

Diffie-Hellman Protocol

Digital Signature Schemes

Groups based on Elliptic Curves

High-Level Protocols

  • HPKE: Hybrid Public-Key Encryption
  • VOPRF: Verifiable Oblivious Pseudorandom function: OPRF, VOPRF and POPRF modes.
  • BlindRSA: Blind RSA signatures.
  • CPABE: Ciphertext-policy Attribute-based Encryption.

Post-Quantum Key Encapsulation Methods

  • CSIDH: Post-Quantum Commutative Group Action
  • Kyber KEM: modes 512, 768, 1024
  • FrodoKEM KEM: modes 640-SHAKE
  • (insecure, deprecated) SIDH/SIKE: Supersingular Key Encapsulation with primes p434, p503, p751

Post-Quantum Public-Key Encryption

  • Kyber PKE: modes 512, 768, 1024

Post-Quantum Digital Signature Schemes

Field Arithmetic

  • Fp25519, Fp448, Fp381

Elliptic Curves

Parallel SIMD

XOF: eXtendable Output Functions

Zero-knowledge Proofs

  • Schnorr: Prove knowledge of the Discrete Logarithm.
  • DLEQ: Prove knowledge of the Discrete Logarithm Equality.

Testing and Benchmarking

Library comes with number of make targets which can be used for testing and benchmarking:

  • test performs testing of the binary.
  • bench runs benchmarks.
  • cover produces coverage.
  • lint runs set of linters on the code base.

Contributing

To contribute, fork this repository and make your changes, and then make a Pull Request. A Pull Request requires approval of the admin team and a successful CI build.

How to Cite

To cite CIRCL, use one of the following formats and update the version and date you accessed this project.

APA Style

Faz-Hernández, A. and Kwiatkowski, K. (2019). Introducing CIRCL:
An Advanced Cryptographic Library. Cloudflare. Available at
https://github.com/cloudflare/circl. v1.3.3 Accessed May, 2023.

Bibtex Source

@manual{circl,
  title        = {Introducing CIRCL: An Advanced Cryptographic Library},
  author       = {Armando Faz-Hern\'{a}ndez and Kris Kwiatkowski},
  organization = {Cloudflare},
  abstract     = {{CIRCL (Cloudflare Interoperable, Reusable Cryptographic Library) is
                   a collection of cryptographic primitives written in Go. The goal
                   of this library is to be used as a tool for experimental
                   deployment of cryptographic algorithms targeting Post-Quantum (PQ)
                   and Elliptic Curve Cryptography (ECC).}},
  note         = {Available at \url{https://github.com/cloudflare/circl}. v1.3.3 Accessed May, 2023},
  month        = jun,
  year         = {2019}
}

CFF Style

See attached CITATION.cff file.

License

The project is licensed under the BSD-3-Clause License.

circl's People

Contributors

armfazh avatar bwesterb avatar chris-wood avatar cjpatton avatar claucece avatar dhcgn avatar dougnukem avatar enj avatar jbampton avatar jbis9051 avatar ko- avatar lekensteyn avatar mkocikowski avatar mmcloughlin avatar renbaoshuo avatar tanyav2 avatar tmthrgd avatar xvzcf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.