15 references to BitsPerByte
System.Security.Cryptography (15)
System\Security\Cryptography\RC2Implementation.cs (15)
49IV = RandomNumberGenerator.GetBytes(BlockSize / BitsPerByte); 54Key = RandomNumberGenerator.GetBytes(KeySize / BitsPerByte); 68long ivSize = rgbIV.Length * (long)BitsPerByte; 79return CreateTransformCore(Mode, Padding, rgbKey, rgbIV, BlockSize / BitsPerByte, FeedbackSize / BitsPerByte, GetPaddingSize(), encrypting); 96blockSize: BlockSize / BitsPerByte, 97paddingSize: BlockSize / BitsPerByte, 120blockSize: BlockSize / BitsPerByte, 121paddingSize: BlockSize / BitsPerByte, 145blockSize: BlockSize / BitsPerByte, 146paddingSize: BlockSize / BitsPerByte, 170blockSize: BlockSize / BitsPerByte, 171paddingSize: BlockSize / BitsPerByte, 210return BlockSize / BitsPerByte; 215if (keySizeBytes > (int.MaxValue / BitsPerByte))