Documentation
¶
Overview ¶
Package pqcrypto provides post-quantum cryptography protocol analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Algorithm ¶
type Algorithm struct {
Name string `json:"name"`
Type string `json:"type"` // kem, signature
Security int `json:"security_level"` // NIST level 1-5
KeySize int `json:"key_size_bytes"`
}
Algorithm represents a post-quantum algorithm.
func KnownAlgorithms ¶
func KnownAlgorithms() []Algorithm
KnownAlgorithms returns known PQ algorithms.
type Assessment ¶
type Assessment struct {
Protocol string `json:"protocol"`
Algorithms []Algorithm `json:"algorithms"`
Risk string `json:"risk"` // low, medium, high, critical
Suggestions []string `json:"suggestions"`
}
Assessment represents a quantum security assessment.
func Assess ¶
func Assess(protocol string) *Assessment
Assess performs a quantum security assessment.
func (*Assessment) Describe ¶
func (a *Assessment) Describe() string
Describe returns assessment description.
Click to show internal directories.
Click to hide internal directories.