Versions in this module Expand all Collapse all v1 v1.14.0 Jul 30, 2020 Changes in this version + func GetBytes(length int) []byte + type HMACEncoder struct + func NewHMACEncoder(hashKey, blockKey []byte) (*HMACEncoder, error) + func (s *HMACEncoder) Decode(name string, data []byte, dst *[]byte) error + func (s *HMACEncoder) DecodeWithTTL(name string, minAge, maxAge int64, data []byte, dst *[]byte) error + func (s *HMACEncoder) Encode(name string, data []byte) ([]byte, error)