Versions in this module Expand all Collapse all v0 v0.0.0 Sep 23, 2018 Changes in this version + type BlockCrypt struct + Armed bool + Ciphertext *buf.Secure + Crypt *buf.Byte + GCM *cipher.AEAD + IV *buf.Byte + Iterations int + Password *buf.Secure + Status string + Unlocked bool + func New() *BlockCrypt + func (r *BlockCrypt) Arm() *BlockCrypt + func (r *BlockCrypt) Decrypt(buf *[]byte) (out *[]byte) + func (r *BlockCrypt) Disarm() *BlockCrypt + func (r *BlockCrypt) Encrypt(buf *[]byte) (out *[]byte) + func (r *BlockCrypt) Error() string + func (r *BlockCrypt) Generate(p *buf.Secure) *BlockCrypt + func (r *BlockCrypt) LoadCrypt(crypt *[]byte, iv *[]byte, iterations int) *BlockCrypt + func (r *BlockCrypt) Lock() *BlockCrypt + func (r *BlockCrypt) OK() bool + func (r *BlockCrypt) SetStatus(s string) proto.Status + func (r *BlockCrypt) SetStatusIf(err error) proto.Status + func (r *BlockCrypt) Unlock(pass *buf.Secure) *BlockCrypt + func (r *BlockCrypt) UnsetStatus() proto.Status