Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDecryptionRoundIsInFuture = errors.New("file can be decrypted in the future")
)
Functions ¶
This section is empty.
Types ¶
type TimeLock ¶
type TimeLock struct {
*TimeLockEncrypt
*TimeLockDecrypt
// contains filtered or unexported fields
}
func NewTimeLock ¶
func NewTimeLock(network *client.DrandNetwork) (*TimeLock, error)
type TimeLockDecrypt ¶
type TimeLockDecrypt struct {
// contains filtered or unexported fields
}
TimeLockDecrypt is used to perform age decryption with drand's IBE decryption.
type TimeLockEncrypt ¶
type TimeLockEncrypt struct {
// contains filtered or unexported fields
}
TimeLockEncrypt is used to perform age encryption with drand's IBE encryption.
Click to show internal directories.
Click to hide internal directories.