cryptomony

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: BSD-3-Clause

README

License Go Reference Coverage Status

About

This library contains complete cryptographic protocols or partial implementations. We are publishing this library without guarantee. API, code, algorithm changes may occurs in the future according to Cymony's needs or changes in draft versions.

Installation

go get -u github.com/cymony/cryptomony

List of Utility Packages

In general, utility packages are packages prepared for easy usage. They are simple wrappers for the standard library packages.

  • hash: A wrapper for hash functions.
  • ksf: A wrapper for key stretching functions.
  • xof: A wrapper for extendable-output functions.

List of Algorithms

High-Level Protocols

Prime-Order Groups on Elliptic Curves

Zero-knowledge Proofs

License

This project is licensed under the BSD 3-Clause

Directories

Path Synopsis
Package dleq implements Discrete Logarithm Equivalence Proofs.
Package dleq implements Discrete Logarithm Equivalence Proofs.
Package eccgroup implements prime-order group supported elliptic curves with hash-to-curve operations.
Package eccgroup implements prime-order group supported elliptic curves with hash-to-curve operations.
internal
Package internal wraps all nist and ristretto255 curves into interfaces
Package internal wraps all nist and ristretto255 curves into interfaces
internal/nist
Package nist implements nist's curves prime-order group
Package nist implements nist's curves prime-order group
internal/r255
Package r255 implements Ristretto255 curve prime-order groups with backend "filippo.io/edwards25519"
Package r255 implements Ristretto255 curve prime-order groups with backend "filippo.io/edwards25519"
Package h2f implements https://www.ietf.org/archive/id/draft-irtf-cfrg-hash-to-curve-16.html#name-hash_to_field-implementatio
Package h2f implements https://www.ietf.org/archive/id/draft-irtf-cfrg-hash-to-curve-16.html#name-hash_to_field-implementatio
Package hash is a small wrapper around built-in cryptographic hash functions to make their usage easier.
Package hash is a small wrapper around built-in cryptographic hash functions to make their usage easier.
internal
test
Package test provides ready to use test functions.
Package test provides ready to use test functions.
Package ksf is a small wrapper around built-in cryptographic key strech functions to make their usage easier and safer
Package ksf is a small wrapper around built-in cryptographic key strech functions to make their usage easier and safer
Package msgexpand generates arbitrary bytes from an XOF or Hash function.
Package msgexpand generates arbitrary bytes from an XOF or Hash function.
Package opaque implements OPAQUE, an asymmetric password-authenticated key exchange protocol that is secure against pre-computation attacks.
Package opaque implements OPAQUE, an asymmetric password-authenticated key exchange protocol that is secure against pre-computation attacks.
internal/common
Package common implements commonly used functions on the opaque package.
Package common implements commonly used functions on the opaque package.
Package oprf implements the Elliptic Curve Oblivious Pseudorandom Function (EC-OPRF) from https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-16.html
Package oprf implements the Elliptic Curve Oblivious Pseudorandom Function (EC-OPRF) from https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-16.html
Package utils exports mostly used functions in cryptomony library
Package utils exports mostly used functions in cryptomony library
Package xof provides an interface for extendable-output functions
Package xof provides an interface for extendable-output functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL