Versions in this module Expand all Collapse all v0 v0.2.0 Jun 19, 2017 v0.1.0 Jun 14, 2017 Changes in this version + type Cipher struct + Block cipher.Block + func (p *Cipher) Decrypt(buf []byte) ([]byte, error) + func (p *Cipher) Encrypt(buf []byte) ([]byte, error) + type Hmac struct + Key []byte + func (p *Hmac) Chk(plain, code []byte) bool + func (p *Hmac) Sum(plain []byte) []byte