pqcrypto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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