Skip to content

version513/energon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energon

Energon is a traits contract that resolves the power of cryptographic libraries (inputs) into a single generalized API (output). Inspired by Kyber

Concept

  • Inputs specified at compile time via feature flag(s) may be selected based on supported architectures, performance, or other considerations.
  • Output need to be combined into a Scheme trait to perform static dispatch, e.g. Drand Scheme
├── backends
│   ├── <curve_A_crate_X>   --feature <A_X>  │
│   │   ├── g1                               │
│   │   ├── g2                               │
│   │   └── scalar                           │
│   ├── <curve_B_crate_Y>   --feature <B_Y>  │
│   │                                        │
│   ├──   :       [INPUTS]                   │
│   └────────────────────────────────────────┘            
│                  
└───────── traits [OUTPUT]
                      |
┌────batteries        |
│                     |
├──Drand(Cyber)────── | ────────────┐
│    ├── ecies        |             │
│    ├── poly         |             │  
│    ├───lib───── [SCHEME] ───────────────> [APP]
│    ├── schnorr                    │
│    ├── tbls                       │
│    └──  :                         │
├───────────────────────────────────┘
├──  :                    

Features

  • bls12381_arkworks
  • bls12381_blstrs

Roadmap

  • rustdoc
  • builder interface
  • bn254 curve

Security Warnings

This library does not make any guarantees about constant-time operations, memory access patterns, or resistance to side-channel attacks.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

No description or website provided.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages