Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newCBC (0.11 sec)

  1. src/crypto/cipher/cbc.go

    package cipher
    
    import (
    	"bytes"
    	"crypto/internal/alias"
    	"crypto/subtle"
    )
    
    type cbc struct {
    	b         Block
    	blockSize int
    	iv        []byte
    	tmp       []byte
    }
    
    func newCBC(b Block, iv []byte) *cbc {
    	return &cbc{
    		b:         b,
    		blockSize: b.BlockSize(),
    		iv:        bytes.Clone(iv),
    		tmp:       make([]byte, b.BlockSize()),
    	}
    }
    
    type cbcEncrypter cbc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top