qpp

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: GPL-3.0 Imports: 5 Imported by: 4

README

qpp

Quantum Permutation Pad (QPP)

Documentation

Index

Constants

View Source
const NATIVE_BYTE_LENGTH = 8 // bit
View Source
const PAD_IDENTIFIER = "QPP_%b"
View Source
const PM_SELECTOR_IDENTIFIER = "PERMUTATION_MATRIX_SELECTOR"

Variables

This section is empty.

Functions

This section is empty.

Types

type QuantumPermutationPad

type QuantumPermutationPad struct {
	// contains filtered or unexported fields
}

func NewQPP

func NewQPP(seed []byte, numPads uint16, qubits uint8) *QuantumPermutationPad

func (*QuantumPermutationPad) Decrypt

func (qpp *QuantumPermutationPad) Decrypt(data []byte)

func (*QuantumPermutationPad) Encrypt

func (qpp *QuantumPermutationPad) Encrypt(data []byte)

Encrypt encrypts data using the Quantum Permutation Pad

Jump to

Keyboard shortcuts

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