4 implementations of TransformFinalBlock
System.Security.Cryptography (4)
System\Security\Cryptography\Base64Transforms.cs (2)
60public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount) 184public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
System\Security\Cryptography\HashAlgorithm.cs (1)
211public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
System\Security\Cryptography\UniversalCryptoTransform.cs (1)
90public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
18 references to TransformFinalBlock
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedAuthenticatedEncryptor.cs (1)
117var ciphertext = cryptoTransform.TransformFinalBlock(EMPTY_ARRAY, 0, 0);
System.Security.Cryptography (4)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
437byte[] lastBlock = encryptor.TransformFinalBlock( 958byte[] tmpEnd = decryptor.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
System\Security\Cryptography\CryptoStream.cs (2)
146byte[] finalBytes = _transform.TransformFinalBlock(_inputBuffer!, 0, _inputBufferIndex); 442_outputBuffer = _transform.TransformFinalBlock(_inputBuffer, 0, _inputBufferIndex);
System.Security.Cryptography.Pkcs (3)
Internal\Cryptography\PkcsHelpers.cs (1)
452return transform.TransformFinalBlock(data, offset, length);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
437byte[] lastBlock = encryptor.TransformFinalBlock( 958byte[] tmpEnd = decryptor.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
System.Security.Cryptography.Xml (10)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
721cipher = enc.TransformFinalBlock(plaintext, 0, plaintext.Length); 799output = dec.TransformFinalBlock(cipherValue, lengthIV, cipherValue.Length - lengthIV);
System\Security\Cryptography\Xml\SymmetricKeyWrap.cs (8)
53byte[] temp1 = enc1.TransformFinalBlock(rgbWKCKS, 0, rgbWKCKS.Length); 60return enc2.TransformFinalBlock(temp2, 0, temp2.Length); 89byte[] temp2 = dec1.TransformFinalBlock(rgbEncryptedWrappedKeyData, 0, rgbEncryptedWrappedKeyData.Length); 98byte[] rgbWKCKS = dec2.TransformFinalBlock(temp1, 0, temp1.Length); 146return enc.TransformFinalBlock(temp, 0, temp.Length); 163byte[] rgbB = enc.TransformFinalBlock(rgbBlock, 0, 16); 206byte[] temp = dec.TransformFinalBlock(rgbEncryptedWrappedKeyData, 0, rgbEncryptedWrappedKeyData.Length); 234byte[] rgbB = dec.TransformFinalBlock(rgbBlock, 0, 16);