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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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