C# 클래스 WebApplications.Utilities.Cryptography.RandomCryptographyProvider

상속: CryptographyProvider
파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

공개 메소드들

메소드 설명
GetDecryptor ( ) : ICryptoTransform
GetEncryptor ( ) : ICryptoTransform

보호된 메소드들

메소드 설명
RandomCryptographyProvider ( [ name, [ configuration ) : System

Initializes a new instance of the RandomCryptographyProvider class.

비공개 메소드들

메소드 설명
Create ( [ name, [ algorithm, System.Xml.Linq.XElement configurationElement ) : RandomCryptographyProvider

Creates a CryptographyProvider from a RandomNumberGenerator.

EncryptBlock ( [ algorithm, [ inputBuffer, int inputOffset, int inputCount, [ outputBuffer, int outputOffset ) : int

Encrypts the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

EncryptFinalBlock ( [ algorithm, [ inputBuffer, int inputOffset, int inputCount ) : byte[]

Encrypts the specified region of the specified byte array.

GetAlgorithm ( ) : RandomNumberGenerator
GetBytes ( int count ) : byte[]
GetBytes ( [ data ) : void
GetNonZeroBytes ( int count ) : byte[]
GetNonZeroBytes ( [ data ) : void
GetNonZeroRandomBytes ( int count ) : byte[]
GetNonZeroRandomBytes ( [ data ) : void
GetRandomBytes ( int count ) : byte[]
GetRandomBytes ( [ data ) : void

메소드 상세

GetDecryptor() 공개 메소드

public GetDecryptor ( ) : ICryptoTransform
리턴 ICryptoTransform

GetEncryptor() 공개 메소드

public GetEncryptor ( ) : ICryptoTransform
리턴 ICryptoTransform

RandomCryptographyProvider() 보호된 메소드

Initializes a new instance of the RandomCryptographyProvider class.
protected RandomCryptographyProvider ( [ name, [ configuration ) : System
name [ The name.
configuration [ The configuration.
리턴 System