Versions in this module Expand all Collapse all v0 v0.5.5 Jan 7, 2016 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) v0.5.3-dev Nov 22, 2015 v0.5.2-dev Nov 9, 2015