-
Notifications
You must be signed in to change notification settings - Fork 88
Feature/crypto docs #995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+135
−1
Merged
Feature/crypto docs #995
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e394789
added doc
glitch003 58c143e
start crypto docs
glitch003 b59c88a
more docs
glitch003 adbf3f8
Merge branch 'naga' into feature/crypto-docs
glitch003 fb9bf2f
wide mode
glitch003 bbaf433
Merge branch 'feature/crypto-docs' of github.com:LIT-Protocol/js-sdk …
glitch003 110639a
link to paper
glitch003 26bfd70
back to wide mode
glitch003 9c59dd9
will this make wide mode work?
glitch003 3b0ebbd
undo that
glitch003 f097197
claude's attempt at fixing wide mode
glitch003 7bd752f
debugging wide mode fixes
glitch003 6265a81
didn't work, giving up on wide mode
glitch003 6b5d07a
move chains to their own section
glitch003 217c78d
better table
glitch003 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| title: "Threshold Cryptography" | ||
| --- | ||
|
|
||
| Lit Protocol supports a wide range of elliptic curves and signing schemes, all securely implemented using threshold cryptography and threshold consensus within a trusted execution environment (TEE). | ||
|
|
||
| ## Supported Elliptic Curves and Signing Schemes | ||
|
|
||
| | Curve | Algorithms (TSS) | Crates (Rust) | Lit enums | Example chains | | ||
| |---|---|---|---|---| | ||
| | secp256k1 | ECDSA (DamFast), Schnorr (FROST, Taproot) | [`k256`](https://crates.io/crates/k256) | `CurveType::K256`; `SigningScheme::{EcdsaK256Sha256,SchnorrK256Sha256,SchnorrK256Taproot}` | Bitcoin, Ethereum | | ||
| | P-256 (secp256r1) | ECDSA (DamFast), Schnorr (FROST) | [`p256`](https://crates.io/crates/p256) | `CurveType::P256`; `SigningScheme::{EcdsaP256Sha256,SchnorrP256Sha256}` | Flow, Hyperledger Fabric | | ||
| | P-384 (secp384r1) | ECDSA (DamFast), Schnorr (FROST) | [`p384`](https://crates.io/crates/p384) | `CurveType::P384`; `SigningScheme::{EcdsaP384Sha384,SchnorrP384Sha384}` | Enterprise/PKI contexts | | ||
| | Ed25519 | Schnorr (FROST/EdDSA) | [`curve25519-dalek`](https://crates.io/crates/curve25519-dalek), [`ed25519-dalek`](https://crates.io/crates/ed25519-dalek) | `CurveType::Ed25519`; `SigningScheme::SchnorrEd25519Sha512` | Solana, Stellar | | ||
| | Ristretto25519 | Schnorr (FROST, Schnorrkel/Substrate) | [`curve25519-dalek`](https://crates.io/crates/curve25519-dalek) | `CurveType::Ristretto25519`; `SigningScheme::{SchnorrRistretto25519Sha512,SchnorrkelSubstrate}` | Polkadot/Substrate (sr25519) | | ||
| | Ed448 | Schnorr (FROST) | [`ed448-goldilocks`](https://crates.io/crates/ed448-goldilocks) | `CurveType::Ed448`; `SigningScheme::SchnorrEd448Shake256` | Research/interop | | ||
| | RedJubjub | Schnorr (FROST) | [`jubjub`](https://crates.io/crates/jubjub) | `CurveType::RedJubjub`; `SigningScheme::SchnorrRedJubjubBlake2b512` | Zcash (Sapling/RedJubjub) | | ||
| | RedDecaf377 | Schnorr (FROST) | [`decaf377`](https://crates.io/crates/decaf377) | `CurveType::RedDecaf377`; `SigningScheme::SchnorrRedDecaf377Blake2b512` | Penumbra (RedDSA) | | ||
| | BLS12-381 (G1/G2) | BLS (Basic, MsgAug, PoP) | [`blstrs-plus`](https://crates.io/crates/blstrs-plus), `blsful` | `CurveType::{BLS,BLS12381G1}`; `SigningScheme::{Bls12381,Bls12381G1ProofOfPossession}` | Ethereum consensus, Filecoin | | ||
|
|
||
| Notes | ||
| - ECDSA TSS uses Damgård et al. “Fast Threshold ECDSA with Honest Majority” (ePrint 2020/501). See `rust/lit-core/lit-fast-ecdsa/README.md`. | ||
| - Schnorr TSS uses FROST across curves; helpers via `lit-frost` and `frost-dkg`. | ||
| - BLS supports multiple schemes including Proof of Possession. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Notes" section should be formatted as a proper markdown heading for consistency with the document structure. Consider changing to
## Notesto match the heading style used elsewhere in the document.