Class Crypto
Inheritance
System.Object
Crypto
Assembly: Unkocrypto.dll
Syntax
public static class Crypto : Object
Fields
MaxBlockSize
Declaration
public const int MaxBlockSize = 1048576
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int MetaSize = 12
Field Value
Type |
Description |
System.Int32 |
|
MinBlockSize
Declaration
public const int MinBlockSize = 32
Field Value
Type |
Description |
System.Int32 |
|
Methods
Decrypt(Int32, Checksum, IntRNG, Stream, Stream)
Declaration
public static int Decrypt(int blockSize, Checksum checksum, IntRNG rand, Stream src, Stream dst)
Parameters
Type |
Name |
Description |
System.Int32 |
blockSize |
|
Checksum |
checksum |
|
IntRNG |
rand |
|
System.IO.Stream |
src |
|
System.IO.Stream |
dst |
|
Returns
Type |
Description |
System.Int32 |
|
Encrypt(Int32, Checksum, IntRNG, Stream, Stream)
Declaration
public static int Encrypt(int blockSize, Checksum checksum, IntRNG rand, Stream src, Stream dst)
Parameters
Type |
Name |
Description |
System.Int32 |
blockSize |
|
Checksum |
checksum |
|
IntRNG |
rand |
|
System.IO.Stream |
src |
|
System.IO.Stream |
dst |
|
Returns
Type |
Description |
System.Int32 |
|