share

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 23, 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 {
	Entropy    Entropy
	Salt       string
	Iterations int
	Length     int
	Digest     string
}

type Entropy

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

type Share

type Share struct {
	ID                   string
	Secret               string
	UserID               string
	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