C# Класс WebApplications.Utilities.Cryptography.RandomCryptographyProvider

Наследование: CryptographyProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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