Git Product home page Git Product logo

x448 - curve448 ECDH

Yawning Angel (yawning at schwanenlied dot me)

See: https://www.rfc-editor.org/rfc/rfc7748.txt

If you're familiar with how to use golang.org/x/crypto/curve25519, you will be right at home with using x448, since the functions are the same. Generate a random secret key, ScalarBaseMult() to get the public key, etc etc etc.

On 64-bit targets the underlying field arithmetic uses output taken from the fiat-crypto project. The 32-bit version and the actual ECDH implementation are based off Michael Hamburg's portable x448 implementation.

Notes:

  • The build-tag system used to determine which version to build is sub-optimal in the extreme (golang/go#33388)

  • Unless your system has a constant-time 32x32=64-bit or 64x64=128-bit multiply (depending on backend), this is unsafe to use. Most modern CPUs provide something adequate, with the notable exception of WASM.

  • As a matter of taste, and because it is prefered when implementing Noise, the optional all-zero check is not done.

Montgomery Edwards⁴⁴⁸'s Projects

ace-dtls-profile icon ace-dtls-profile

A DTLS profile for Authentication and Authorization for Constrained Environments

age icon age

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

backtrader icon backtrader

Python Backtesting library for trading strategies

beeep icon beeep

Go cross-platform library for sending desktop notifications, alerts and beeps

book icon book

The Rust Programming Language

cbor icon cbor

CBOR RFC 7049 (Go/Golang) - safe & fast with standard API + toarray & keyasint, CBOR tags, float64/32/16, fuzz tested.

cbor-fuzz icon cbor-fuzz

Coverage-guided fuzz testing for fxamacker/cbor

cborbis icon cborbis

(Mostly editorial) update of RFC 7049 in IETF CBOR WG

circlehash icon circlehash

CircleHash is a family of fast hashes -- CircleHash64f is ideal for short inputs, reaching 10GB/s starting at <64 bytes and 15GB/s at 256 bytes (i7-1068NG7)

core icon core

Core components common to clients and servers.

edhoc icon edhoc

Ephemeral Diffie-Hellman Over COSE (EDHOC)

fastquant icon fastquant

fastquant — Backtest and optimize your trading strategies with only 3 lines of code!

fgd icon fgd

Project to help Faye resolve go.dev rendering issues

float16 icon float16

float16 provides IEEE 754 half-precision format (binary16) with correct conversions to/from float32

gabi icon gabi

Implementation of the Idemix attribute based credential scheme used in IRMA

go-cose icon go-cose

go library for CBOR Object Signing and Encryption (COSE)

gocap icon gocap

List your dependencies capabilities and monitor if updates require more capabilities.

godev icon godev

This is to test github markdown rending on go.dev

hacspec icon hacspec

A specification language for cryptography primitives.

helix icon helix

A post-modern modal text editor.

irmago icon irmago

IRMA server, client, and tooling. Documentation: http://irma.app/docs

katzenpost icon katzenpost

Katzenpost is a free and open source software project dedicated to researching and developing mix networks so that people can communicate more freely.

mkcert icon mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.

mplfinance icon mplfinance

New mplfinance package (replacement for mpl-finance).

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.