DESCryptoServiceProvider.CreateDecryptor 메서드

정의

오버로드

CreateDecryptor()

현재 Key 속성 및 초기화 벡터(IV)를 사용하여 대칭 decryptor 개체를 만듭니다.

CreateDecryptor(Byte[], Byte[])

지정된 키(DES)와 초기화 벡터(Key)를 사용하여 대칭 데이터 암호화 표준(IV) decryptor 개체를 만듭니다.

CreateDecryptor()

현재 Key 속성 및 초기화 벡터(IV)를 사용하여 대칭 decryptor 개체를 만듭니다.

public:
 override System::Security::Cryptography::ICryptoTransform ^ CreateDecryptor();
public override System.Security.Cryptography.ICryptoTransform CreateDecryptor ();
override this.CreateDecryptor : unit -> System.Security.Cryptography.ICryptoTransform
Public Overrides Function CreateDecryptor () As ICryptoTransform

반환

ICryptoTransform

대칭 decryptor 개체입니다.

설명

이 메서드는 동일한 서명으로 오버로드를 사용하여 만든 암호화된 메시지의 CreateEncryptor 암호를 해독합니다.

적용 대상

CreateDecryptor(Byte[], Byte[])

지정된 키(DES)와 초기화 벡터(Key)를 사용하여 대칭 데이터 암호화 표준(IV) decryptor 개체를 만듭니다.

public:
 override System::Security::Cryptography::ICryptoTransform ^ CreateDecryptor(cli::array <System::Byte> ^ rgbKey, cli::array <System::Byte> ^ rgbIV);
public override System.Security.Cryptography.ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[]? rgbIV);
public override System.Security.Cryptography.ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[] rgbIV);
override this.CreateDecryptor : byte[] * byte[] -> System.Security.Cryptography.ICryptoTransform
Public Overrides Function CreateDecryptor (rgbKey As Byte(), rgbIV As Byte()) As ICryptoTransform

매개 변수

rgbKey
Byte[]

대칭 알고리즘에 사용할 비밀 키입니다.

rgbIV
Byte[]

대칭 알고리즘에 사용할 초기화 벡터입니다.

반환

ICryptoTransform

대칭 DES decryptor 개체입니다.

예외

Mode 속성의 값이 OFB인 경우

또는 Mode 속성의 값이 CFB이고 FeedbackSize 속성의 값이 8이 아닌 경우

또는 잘못된 키 크기가 사용된 경우

또는 알고리즘 키 크기를 사용할 수 없는 경우

설명

이 메서드는 동일한 매개 변수를 사용하여 오버로드를 사용하여 만든 암호화된 메시지의 CreateEncryptor 암호를 해독합니다.

추가 정보

적용 대상