Documentation ¶
Overview ¶
Package message used as a storage and loading of encrypted messages.
The package allows initializing verification of the correctness of the message by the hash length and proof of work.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownType = &SMessageError{"unknown type of message"} ErrInvalidMessage = &SMessageError{"invalid message"} ErrLoadBytesJoiner = &SMessageError{"load bytes joiner"} )
Functions ¶
This section is empty.
Types ¶
type IMessage ¶
type IMessage interface { types.IConverter GetEnck() []byte GetEncd() []byte }
func LoadMessage ¶
Message can be created only with client module.
func NewMessage ¶ added in v1.6.10
type ISettings ¶ added in v1.5.7
func NewSettings ¶ added in v1.5.7
type SMessageError ¶ added in v1.6.8
type SMessageError struct {
// contains filtered or unexported fields
}
func (*SMessageError) Error ¶ added in v1.6.8
func (err *SMessageError) Error() string
Click to show internal directories.
Click to hide internal directories.