Documentation ¶
Index ¶
- type EncUuid
- type EncUuidGenerator
- func (e *EncUuidGenerator) Decrypt(text string) ([]byte, error)
- func (e *EncUuidGenerator) Encrypt(text []byte) (string, error)
- func (e *EncUuidGenerator) New() *EncUuid
- func (e *EncUuidGenerator) NewWithAdditionalData(additionalData string) *EncUuid
- func (e *EncUuidGenerator) Parse(in string) (*EncUuid, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncUuid ¶
type EncUuid struct {
// contains filtered or unexported fields
}
func (*EncUuid) AdditionalDataStr ¶
func (u *EncUuid) AdditionalDataStr(e *EncUuidGenerator) (string, error)
func (*EncUuid) SetAdditionalData ¶
func (u *EncUuid) SetAdditionalData(e *EncUuidGenerator, additionalData string) error
type EncUuidGenerator ¶
type EncUuidGenerator struct {
// contains filtered or unexported fields
}
func New ¶
func New(secret []byte, gracefulFallback bool) *EncUuidGenerator
func (*EncUuidGenerator) New ¶
func (e *EncUuidGenerator) New() *EncUuid
func (*EncUuidGenerator) NewWithAdditionalData ¶
func (e *EncUuidGenerator) NewWithAdditionalData(additionalData string) *EncUuid
Click to show internal directories.
Click to hide internal directories.