curve25519sign

package
v0.0.0-...-0ec6e63 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: GPL-3.0 Imports: 3 Imported by: 8

Documentation

Overview

Package curve25519sign implements a signature scheme based on Curve25519 keys. See https://moderncrypto.org/mail-archive/curves/2014/000205.html for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(privateKey *[32]byte, message []byte, random [64]byte) *[64]byte

Sign signs the message with privateKey and returns a signature.

func Verify

func Verify(publicKey [32]byte, message []byte, signature *[64]byte) bool

Verify checks whether the message has a valid signature.

Types

This section is empty.

Jump to

Keyboard shortcuts

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