Help us shape the future of Go! Take the 2026 Go Developer Survey

cipherutil

package
v1.3.104 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cipherutil pkg/util/cipherutil/cipherutil.go c0-com-util

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPair

type KeyPair struct {
	PK cipher.PubKey
	SK cipher.SecKey
}

KeyPair is a pair of public and secret keys

func GenKeyPairs

func GenKeyPairs(n int) []KeyPair

GenKeyPairs generates n random key pairs

Jump to

Keyboard shortcuts

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