Home | History | Annotate | Download | only in cipher

Lines Matching defs:Block

5 // Package cipher implements standard block cipher modes that can be wrapped
6 // around low-level block cipher implementations.
11 // A Block represents an implementation of block cipher
15 type Block interface {
16 // BlockSize returns the cipher's block size.
19 // Encrypt encrypts the first block in src into dst.
23 // Decrypt decrypts the first block in src into dst.
43 // A BlockMode represents a block cipher running in a block-based mode (CBC,
46 // BlockSize returns the mode's block size.
50 // src must be a multiple of the block size. Dst and src must overlap