C# Класс System.Utilities.Cryptography.Encryption

Provides encryption and decryption capabilites using 128-bit, 192-bit, and 256-bit AES encryption methods. This implementation is FIPS compliant.
Показать файл Открыть проект

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

Метод Описание
ConvertToUnsecureString ( System securePassword ) : string
Decrypt128Byte ( Stream Data, byte Key ) : byte[]

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128Byte ( byte Data, byte Key ) : byte[]

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128Stream ( Stream Data, byte Key ) : Stream

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128Stream ( byte Data, byte Key ) : Stream

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128String ( Stream Data, byte Key ) : string

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128String ( byte Data, byte Key ) : string

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128StringSecure ( Stream Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt128StringSecure ( byte Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 128-bit cipher. The key can be any length.

Decrypt192Byte ( Stream Data, byte Key ) : byte[]

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192Byte ( byte Data, byte Key ) : byte[]

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192Stream ( Stream Data, byte Key ) : Stream

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192Stream ( byte Data, byte Key ) : Stream

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192String ( Stream Data, byte Key ) : string

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192String ( byte Data, byte Key ) : string

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192StringSecure ( Stream Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt192StringSecure ( byte Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 192-bit cipher. The key can be any length.

Decrypt256Byte ( Stream Data, byte Key ) : byte[]

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256Byte ( byte Data, byte Key ) : byte[]

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256Stream ( Stream Data, byte Key ) : Stream

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256Stream ( byte Data, byte Key ) : Stream

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256String ( Stream Data, byte Key ) : string

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256String ( byte Data, byte Key ) : string

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256StringSecure ( Stream Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Decrypt256StringSecure ( byte Data, byte Key ) : System.Security.SecureString

Decrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt128Base64 ( Stream Data, byte Key ) : string

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Base64 ( byte Data, byte Key ) : string

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Base64 ( string Data, byte Key ) : string

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Base64Secure ( System Data, byte Key ) : string

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Byte ( Stream Data, byte Key ) : byte[]

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Byte ( byte Data, byte Key ) : byte[]

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Byte ( string Data, byte Key ) : byte[]

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128ByteSecure ( System Data, byte Key ) : byte[]

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Stream ( Stream Data, byte Key ) : Stream

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Stream ( byte Data, byte Key ) : Stream

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128Stream ( string Data, byte Key ) : Stream

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt128StreamSecure ( System Data, byte Key ) : Stream

Encrypts the specified data using a 128-bit cipher. The key can be any length.

Encrypt192Base64 ( Stream Data, byte Key ) : string

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Base64 ( byte Data, byte Key ) : string

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Base64 ( string Data, byte Key ) : string

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Base64Secure ( System Data, byte Key ) : string

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Byte ( Stream Data, byte Key ) : byte[]

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Byte ( byte Data, byte Key ) : byte[]

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Byte ( string Data, byte Key ) : byte[]

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192ByteSecure ( System Data, byte Key ) : byte[]

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Stream ( Stream Data, byte Key ) : Stream

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Stream ( byte Data, byte Key ) : Stream

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192Stream ( string Data, byte Key ) : Stream

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt192StreamSecure ( System Data, byte Key ) : Stream

Encrypts the specified data using a 192-bit cipher. The key can be any length.

Encrypt256Base64 ( Stream Data, byte Key ) : string

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Base64 ( byte Data, byte Key ) : string

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Base64 ( string Data, byte Key ) : string

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Base64Secure ( System Data, byte Key ) : string

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Byte ( Stream Data, byte Key ) : byte[]

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Byte ( byte Data, byte Key ) : byte[]

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Byte ( string Data, byte Key ) : byte[]

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256ByteSecure ( System Data, byte Key ) : byte[]

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Stream ( Stream Data, byte Key ) : Stream

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Stream ( byte Data, byte Key ) : Stream

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256Stream ( string Data, byte Key ) : Stream

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Encrypt256StreamSecure ( System Data, byte Key ) : Stream

Encrypts the specified data using a 256-bit cipher. The key can be any length.

Приватные методы

Метод Описание
GenerateKeyIV128 ( byte Key ) : KeyData
GenerateKeyIV192 ( byte Key ) : KeyData
GenerateKeyIV256 ( byte Key ) : KeyData

Описание методов

ConvertToUnsecureString() публичный статический Метод

public static ConvertToUnsecureString ( System securePassword ) : string
securePassword System
Результат string

Decrypt128Byte() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt128Byte() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt128Stream() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt128Stream() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128Stream ( byte Data, byte Key ) : Stream
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt128String() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128String ( Stream Data, byte Key ) : string
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt128String() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128String ( byte Data, byte Key ) : string
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt128StringSecure() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128StringSecure ( Stream Data, byte Key ) : System.Security.SecureString
Data Stream The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Decrypt128StringSecure() публичный статический Метод

Decrypts the specified data using a 128-bit cipher. The key can be any length.
public static Decrypt128StringSecure ( byte Data, byte Key ) : System.Security.SecureString
Data byte The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Decrypt192Byte() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt192Byte() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt192Stream() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt192Stream() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192Stream ( byte Data, byte Key ) : Stream
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt192String() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192String ( Stream Data, byte Key ) : string
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt192String() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192String ( byte Data, byte Key ) : string
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt192StringSecure() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192StringSecure ( Stream Data, byte Key ) : System.Security.SecureString
Data Stream The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Decrypt192StringSecure() публичный статический Метод

Decrypts the specified data using a 192-bit cipher. The key can be any length.
public static Decrypt192StringSecure ( byte Data, byte Key ) : System.Security.SecureString
Data byte The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Decrypt256Byte() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt256Byte() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат byte[]

Decrypt256Stream() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt256Stream() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256Stream ( byte Data, byte Key ) : Stream
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат Stream

Decrypt256String() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256String ( Stream Data, byte Key ) : string
Data Stream The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt256String() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256String ( byte Data, byte Key ) : string
Data byte The data to be decrypted.
Key byte The key used to decrypt the data.
Результат string

Decrypt256StringSecure() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256StringSecure ( Stream Data, byte Key ) : System.Security.SecureString
Data Stream The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Decrypt256StringSecure() публичный статический Метод

Decrypts the specified data using a 256-bit cipher. The key can be any length.
public static Decrypt256StringSecure ( byte Data, byte Key ) : System.Security.SecureString
Data byte The data to be decrypted. Will be converted to UTF8.
Key byte The key used to decrypt the data.
Результат System.Security.SecureString

Encrypt128Base64() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Base64 ( Stream Data, byte Key ) : string
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt128Base64() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Base64 ( byte Data, byte Key ) : string
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt128Base64() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Base64 ( string Data, byte Key ) : string
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt128Base64Secure() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Base64Secure ( System Data, byte Key ) : string
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат string

Encrypt128Byte() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt128Byte() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt128Byte() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Byte ( string Data, byte Key ) : byte[]
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt128ByteSecure() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128ByteSecure ( System Data, byte Key ) : byte[]
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt128Stream() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt128Stream() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Stream ( byte Data, byte Key ) : Stream
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt128Stream() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128Stream ( string Data, byte Key ) : Stream
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt128StreamSecure() публичный статический Метод

Encrypts the specified data using a 128-bit cipher. The key can be any length.
public static Encrypt128StreamSecure ( System Data, byte Key ) : Stream
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt192Base64() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Base64 ( Stream Data, byte Key ) : string
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt192Base64() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Base64 ( byte Data, byte Key ) : string
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt192Base64() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Base64 ( string Data, byte Key ) : string
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt192Base64Secure() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Base64Secure ( System Data, byte Key ) : string
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат string

Encrypt192Byte() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt192Byte() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt192Byte() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Byte ( string Data, byte Key ) : byte[]
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt192ByteSecure() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192ByteSecure ( System Data, byte Key ) : byte[]
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt192Stream() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt192Stream() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Stream ( byte Data, byte Key ) : Stream
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt192Stream() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192Stream ( string Data, byte Key ) : Stream
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt192StreamSecure() публичный статический Метод

Encrypts the specified data using a 192-bit cipher. The key can be any length.
public static Encrypt192StreamSecure ( System Data, byte Key ) : Stream
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt256Base64() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Base64 ( Stream Data, byte Key ) : string
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt256Base64() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Base64 ( byte Data, byte Key ) : string
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt256Base64() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Base64 ( string Data, byte Key ) : string
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат string

Encrypt256Base64Secure() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Base64Secure ( System Data, byte Key ) : string
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат string

Encrypt256Byte() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Byte ( Stream Data, byte Key ) : byte[]
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt256Byte() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Byte ( byte Data, byte Key ) : byte[]
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt256Byte() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Byte ( string Data, byte Key ) : byte[]
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt256ByteSecure() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256ByteSecure ( System Data, byte Key ) : byte[]
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат byte[]

Encrypt256Stream() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Stream ( Stream Data, byte Key ) : Stream
Data Stream The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt256Stream() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Stream ( byte Data, byte Key ) : Stream
Data byte The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt256Stream() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256Stream ( string Data, byte Key ) : Stream
Data string The data to be encrypted.
Key byte The key used to encrypt the data.
Результат Stream

Encrypt256StreamSecure() публичный статический Метод

Encrypts the specified data using a 256-bit cipher. The key can be any length.
public static Encrypt256StreamSecure ( System Data, byte Key ) : Stream
Data System The data to be encrypted. Must be UTF8.
Key byte The key used to encrypt the data.
Результат Stream