package sikep503

import "github.com/cloudflare/circl/kem/sike/sikep503"

Package sikep503 is deprecated, it implements the key encapsulation mechanism SIKEp503.

DEPRECATION NOTICE

SIDH and SIKE are deprecated as were shown vulnerable to a key recovery attack by Castryck-Decru's paper (https://eprint.iacr.org/2022/975). New systems should not rely on this package. This package is frozen.

Index

Constants

const (
	SeedSize              = 32
	EncapsulationSeedSize = 32
)

Functions

func GenerateKeyPair

func GenerateKeyPair(rand io.Reader) (kem.PublicKey, kem.PrivateKey, error)

Deprecated: not cryptographically secure.

func Scheme

func Scheme() kem.Scheme

Scheme returns a KEM interface.

Deprecated: not cryptographically secure.

Types

type PrivateKey

type PrivateKey struct {
	// contains filtered or unexported fields
}

Deprecated: not cryptographically secure.

func (*PrivateKey) Equal

func (sk *PrivateKey) Equal(other kem.PrivateKey) bool

func (*PrivateKey) MarshalBinary

func (sk *PrivateKey) MarshalBinary() ([]byte, error)

func (*PrivateKey) Public

func (sk *PrivateKey) Public() kem.PublicKey

func (*PrivateKey) Scheme

func (sk *PrivateKey) Scheme() kem.Scheme

type PublicKey

type PublicKey sidh.PublicKey

Deprecated: not cryptographically secure.

func (*PublicKey) Equal

func (pk *PublicKey) Equal(other kem.PublicKey) bool

func (*PublicKey) MarshalBinary

func (pk *PublicKey) MarshalBinary() ([]byte, error)

func (*PublicKey) Scheme

func (pk *PublicKey) Scheme() kem.Scheme

Source Files

sike.go

Version
v1.6.1 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
2 hours ago

Tools for package owners.