share

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptionParameters

type EncryptionParameters struct {
	Salt       string
	Iterations int
	Length     int
	Digest     string
}

type Entropy

type Entropy int8
const (
	EntropyNone Entropy = iota + 1
	EntropyUser
	EntropyProject
)

type Share

type Share struct {
	ID                   string
	Secret               string
	UserID               string
	Entropy              Entropy
	EncryptionParameters *EncryptionParameters
}

func (*Share) RequiresEncryption

func (s *Share) RequiresEncryption() bool

Jump to

Keyboard shortcuts

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