type crypto/cipher.Block
25 uses
crypto/cipher (current package)
cbc.go#L17: b Block
cbc.go#L23: func newCBC(b Block, iv []byte) *cbc {
cbc.go#L45: func NewCBCEncrypter(b Block, iv []byte) BlockMode {
cbc.go#L105: func NewCBCDecrypter(b Block, iv []byte) BlockMode {
cfb.go#L12: b Block
cfb.go#L53: func NewCFBEncrypter(block Block, iv []byte) Stream {
cfb.go#L60: func NewCFBDecrypter(block Block, iv []byte) Stream {
cfb.go#L64: func newCFB(block Block, iv []byte, decrypt bool) Stream {
cipher.go#L15: type Block interface {
ctr.go#L18: b Block
ctr.go#L35: func NewCTR(block Block, iv []byte) Stream {
gcm.go#L70: cipher Block
gcm.go#L84: func NewGCM(cipher Block) (AEAD, error) {
gcm.go#L95: func NewGCMWithNonceSize(cipher Block, size int) (AEAD, error) {
gcm.go#L107: func NewGCMWithTagSize(cipher Block, tagSize int) (AEAD, error) {
gcm.go#L111: func newGCMWithNonceAndTagSize(cipher Block, nonceSize, tagSize int) (AEAD, error) {
ofb.go#L12: b Block
ofb.go#L21: func NewOFB(b Block, iv []byte) Stream {
crypto/aes
cipher.go#L32: func NewCipher(key []byte) (cipher.Block, error) {
cipher.go#L45: func newCipherGeneric(key []byte) (cipher.Block, error) {
cipher_asm.go#L33: func newCipher(key []byte) (cipher.Block, error) {
crypto/des
cipher.go#L29: func NewCipher(key []byte) (cipher.Block, error) {
cipher.go#L73: func NewTripleDESCipher(key []byte) (cipher.Block, error) {
crypto/rand
rand_unix.go#L118: cipher cipher.Block
crypto/x509
pem_decrypt.go#L39: cipherFunc func(key []byte) (cipher.Block, error)