Versions in this module Expand all Collapse all v1 v1.0.0 Jun 18, 2018 Changes in this version + type Cipher struct + func NewCipher(cipherFunc func([]byte) (cipher.Block, error), key []byte) (c *Cipher, err error) + func (c *Cipher) Decrypt(plaintext, ciphertext []byte, sectorNum uint64) + func (c *Cipher) Encrypt(ciphertext, plaintext []byte, sectorNum uint64) Incompatible versions in this module v2.0.0+incompatible Mar 4, 2019