SymmetricAlgorithm.TryDecryptCfbCore Método

Definição

Quando sobrescrito numa classe derivada, tenta desencriptar dados no buffer especificado, usando o modo CFB com o modo de enchimento especificado e o tamanho de feedback.

protected:
 virtual bool TryDecryptCfbCore(ReadOnlySpan<System::Byte> ciphertext, ReadOnlySpan<System::Byte> iv, Span<System::Byte> destination, System::Security::Cryptography::PaddingMode paddingMode, int feedbackSizeInBits, [Runtime::InteropServices::Out] int % bytesWritten);
protected virtual bool TryDecryptCfbCore(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> iv, Span<byte> destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten);
abstract member TryDecryptCfbCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.PaddingMode * int * int -> bool
override this.TryDecryptCfbCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.PaddingMode * int * int -> bool
Protected Overridable Function TryDecryptCfbCore (ciphertext As ReadOnlySpan(Of Byte), iv As ReadOnlySpan(Of Byte), destination As Span(Of Byte), paddingMode As PaddingMode, feedbackSizeInBits As Integer, ByRef bytesWritten As Integer) As Boolean

Parâmetros

ciphertext
ReadOnlySpan<Byte>

Os dados para desencriptar.

iv
ReadOnlySpan<Byte>

O vetor de inicialização.

destination
Span<Byte>

O buffer para receber os dados do texto simples.

paddingMode
PaddingMode

O modo de enchimento é usado para produzir o texto cifrado e remover durante a desencriptação.

feedbackSizeInBits
Int32

O tamanho do feedback, especificado em bits.

bytesWritten
Int32

Quando este método retorna, contém o número total de bytes escritos em destination.

Devoluções

true se destination fosse suficientemente grande para receber os dados desencriptados; caso contrário, false.

Exceções

Uma classe derivada não forneceu uma implementação.

Observações

As classes derivadas devem sobrepor-se a isto e fornecer uma implementação.

Aplica-se a