Documentation ¶
Overview ¶
Package sikep434 is deprecated, it implements the key encapsulation mechanism SIKEp434.
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)deprecated
- func Scheme() kem.Schemedeprecated
- type PrivateKeydeprecated
- type PublicKeydeprecated
Constants ¶
View Source
const ( SeedSize = 32 EncapsulationSeedSize = 32 )
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair
deprecated
Types ¶
type PrivateKey
deprecated
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
Deprecated: not cryptographically secure.
func (*PublicKey) MarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.