All Projects → johndoe31415 → Joeecc

johndoe31415 / Joeecc

Licence: gpl-3.0
Elliptic Curve Cryptography playground/toolkit written in pure Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Joeecc

Bitcoinecdsa.php
PHP library to generate BTC addresses and signatures from private keys.
Stars: ✭ 169 (+267.39%)
Mutual labels:  cryptography, ecdsa
Multi Party Ecdsa
Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).
Stars: ✭ 339 (+636.96%)
Mutual labels:  cryptography, ecdsa
Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (+371.74%)
Mutual labels:  cryptography, ed25519
Cryptolib4pascal
Crypto for Modern Object Pascal
Stars: ✭ 127 (+176.09%)
Mutual labels:  cryptography, ecdsa
Sodium compat
Pure PHP polyfill for ext/sodium
Stars: ✭ 736 (+1500%)
Mutual labels:  cryptography, ed25519
Wasm Crypto
A WebAssembly (via AssemblyScript) set of cryptographic primitives for building authentication and key exchange protocols.
Stars: ✭ 146 (+217.39%)
Mutual labels:  cryptography, ed25519
Oscrypto
Compiler-free Python crypto library backed by the OS, supporting CPython and PyPy
Stars: ✭ 257 (+458.7%)
Mutual labels:  cryptography, ecdsa
Signatory
Multi-provider digital signature library for Rust
Stars: ✭ 136 (+195.65%)
Mutual labels:  ed25519, ecdsa
Keys
Key management is hard
Stars: ✭ 733 (+1493.48%)
Mutual labels:  cryptography, ed25519
Circl
CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
Stars: ✭ 474 (+930.43%)
Mutual labels:  cryptography, ed25519
Exonum Client
JavaScript client for Exonum blockchain
Stars: ✭ 62 (+34.78%)
Mutual labels:  cryptography, ed25519
Rbnacl
Ruby FFI binding to the Networking and Cryptography (NaCl) library (a.k.a. libsodium)
Stars: ✭ 910 (+1878.26%)
Mutual labels:  cryptography, ed25519
Minisign
A dead simple tool to sign files and verify digital signatures.
Stars: ✭ 1,105 (+2302.17%)
Mutual labels:  cryptography, ed25519
Fastecdsa
Python library for fast elliptic curve crypto
Stars: ✭ 158 (+243.48%)
Mutual labels:  cryptography, ecdsa
Jwt
JSON Web Token library
Stars: ✭ 242 (+426.09%)
Mutual labels:  ed25519, ecdsa
yubihsm-rs
Pure Rust client for YubiHSM2 devices
Stars: ✭ 70 (+52.17%)
Mutual labels:  ed25519, ecdsa
Signatures
Cryptographic signature algorithms: ECDSA, Ed25519
Stars: ✭ 135 (+193.48%)
Mutual labels:  ed25519, ecdsa
Ed25519 Dalek
Fast and efficient ed25519 signing and verification in Rust.
Stars: ✭ 383 (+732.61%)
Mutual labels:  cryptography, ed25519
Halite
High-level cryptography interface powered by libsodium
Stars: ✭ 933 (+1928.26%)
Mutual labels:  cryptography, ed25519
Swift Crypto
Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
Stars: ✭ 1,005 (+2084.78%)
Mutual labels:  cryptography, ecdsa

joeecc

joeecc is a playground for Elliptic Curve Cryptography in FP. It is written in pure Python and aims to explain ECC in easy terms. It is neither written to be performant, nor side-channel resistant nor in any way suited for productive use at all. Please use it for its intended purpose and for it only.

The rationale behind joeecc is to show a clear and mathematically clean presentation of the underlying mathematical problems. Most code that is written arund ECC -- especially code that revolves around Ed25519 and/or Curve25519 is heavily optimized and in many cases hard to understand. joeecc tries to present the problems with a high level of abstraction in order to serve as yet another (different) reference to compare implementations against and in order to aid understanding of heavily optimized code. All curve arithmetic is therefore performed in affine space; performance in affine space is lowest, but having values that directly can be checked against the curve equation makes understanding everything extremely easy.

Tutorial

There's a ECC tutorial that I've written which accompanies the pure code. It can be found at

http://johannes-bauer.com/compsci/ecc/

Features

  • ECDSA demonstration
  • ECIES demonstration
  • ECDH demonstration
  • Elgamal demonstration
  • Demonstration how a private key can be recovered from two ECDSA signatures which reused the same nonce (ECDSA nonce exploit)
  • Support for short-formed Weierstrass curves, Montgomery curves and twisted Edwards curves
  • Conversion of domain parameters of twisted Edwards to Montgomery form and back, conversion of points between Montgomery representation and its birationally equivalent twisted Edwards counterpart
  • Ed25519 and Curve25519 support and support to convert keys between each other (Curve25519 and Ed25519 are birationally equivalent curves)
  • Many testcases to try out your own implementation
  • Example of OpenBSD's signify application (generates and verifies Ed25519 signatures, but doesn't support key encryption)
  • Clean, well-documented Python3 code
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].