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
- func GenerateKeyPair(rand io.Reader) (kem.PublicKey, kem.PrivateKey, error)
- func Scheme() kem.Scheme
- type PrivateKey
- func (sk *PrivateKey) Equal(other kem.PrivateKey) bool
- func (sk *PrivateKey) MarshalBinary() ([]byte, error)
- func (sk *PrivateKey) Public() kem.PublicKey
- func (sk *PrivateKey) Scheme() kem.Scheme
- type PublicKey
Constants ¶
const ( SeedSize = 32 EncapsulationSeedSize = 32 )
Functions ¶
func GenerateKeyPair ¶
Deprecated: not cryptographically secure.
func 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 ¶
Deprecated: not cryptographically secure.
func (*PublicKey) Equal ¶
func (*PublicKey) MarshalBinary ¶
func (*PublicKey) Scheme ¶
Source Files ¶
- Version
- v1.6.1 (latest)
- Published
- Apr 9, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 2 hours ago –
Tools for package owners.