encryptor

package
v0.0.0-...-ebe581b Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.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 EncryptOptions

type EncryptOptions struct {
	FileID  string
	SliceID string
	NodeID  []byte
}

EncryptOptions use fileID, sliceID and nodeID info when encrypting slice content

type EncryptedSlice

type EncryptedSlice struct {
	EncryptedSliceMeta

	CipherText []byte // slice ciphertext
}

type EncryptedSliceMeta

type EncryptedSliceMeta struct {
	SliceID    string
	NodeID     []byte
	CipherHash []byte // hash of slice ciphertext
	Length     uint64 // length of slice ciphertext
}

type RecoverOptions

type RecoverOptions struct {
	FileID  string
	SliceID string
	NodeID  []byte
}

RecoverOptions use fileID, sliceID and nodeID info when recovering slice content

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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