C# 클래스 OpenStory.Cryptography.RollingIvFactory

Represents a class used to create RollingIv instances.
파일 보기 프로젝트 열기: shoftee/OpenStory 1 사용 예제들

공개 메소드들

메소드 설명
CreateDecryptIv ( byte initialIv, VersionMaskType versionMaskType ) : RollingIv

Creates a new RollingIv instance.

CreateEncryptIv ( byte initialIv, VersionMaskType versionMaskType ) : RollingIv

Creates a new RollingIv instance.

RollingIvFactory ( ICryptoAlgorithm encryptionAlgorithm, ICryptoAlgorithm decryptionAlgorithm, ushort version )

Initializes a new instance of the RollingIvFactory class.

RollingIvFactory ( ICryptoAlgorithm symmetricAlgorithm, ushort version )

Initializes a new instance of the RollingIvFactory class.

비공개 메소드들

메소드 설명
GetMaskedVersion ( ushort version, VersionMaskType versionMaskType ) : ushort

메소드 상세

CreateDecryptIv() 공개 메소드

Creates a new RollingIv instance.
public CreateDecryptIv ( byte initialIv, VersionMaskType versionMaskType ) : RollingIv
initialIv byte The initial IV for the new instance.
versionMaskType VersionMaskType The for the new instance.
리턴 RollingIv

CreateEncryptIv() 공개 메소드

Creates a new RollingIv instance.
public CreateEncryptIv ( byte initialIv, VersionMaskType versionMaskType ) : RollingIv
initialIv byte The initial IV for the new instance.
versionMaskType VersionMaskType The for the new instance.
리턴 RollingIv

RollingIvFactory() 공개 메소드

Initializes a new instance of the RollingIvFactory class.
public RollingIvFactory ( ICryptoAlgorithm encryptionAlgorithm, ICryptoAlgorithm decryptionAlgorithm, ushort version )
encryptionAlgorithm ICryptoAlgorithm The instance to use for encryption IVs.
decryptionAlgorithm ICryptoAlgorithm The instance to use for decryption IVs.
version ushort The version number to assign to created instances.

RollingIvFactory() 공개 메소드

Initializes a new instance of the RollingIvFactory class.
public RollingIvFactory ( ICryptoAlgorithm symmetricAlgorithm, ushort version )
symmetricAlgorithm ICryptoAlgorithm The instance to use for both encryption and decryption.
version ushort The version number to assign to created instances.