프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Decrypt | void | ||
DecryptData | int | ||
Encrypt | void | ||
EncryptData | int | ||
IncrementCounter | void |
메소드 | 설명 | |
---|---|---|
Clear ( ) : void |
Releases all resources used by the ManagedTransformBase class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int |
Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
|
|
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[] |
Transforms the specified region of the specified byte array.
|
메소드 | 설명 | |
---|---|---|
DecryptBlock ( byte block ) : void |
Decrypts a single block of bytes, writing the result into the provided array.
|
|
Dispose ( bool disposing ) : void |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
|
|
EncryptBlock ( byte block ) : void |
Encrypts a single block of bytes, writing the result into the provided array.
|
|
ManagedTransformBase ( ISymmetricAlgorithm algorithm, byte rgbIv, TransformDirection transformDirection, Endianness endianness ) : System |
Creates a new managed transform instance, reading necessary setting values from the provided ISymmetricAlgorithm instance.
|
|
Reset ( ) : void |
Clears all potentially sensitive data stores.
|
메소드 | 설명 | |
---|---|---|
Decrypt ( uint cipher ) : void | ||
DecryptData ( byte inputBuffer, int inputOffset, int inputCount, byte &outputBuffer, int outputOffset, PaddingMode paddingMode, bool final ) : int | ||
Encrypt ( uint plain ) : void | ||
EncryptData ( byte inputBuffer, int inputOffset, int inputCount, byte &outputBuffer, int outputOffset, PaddingMode paddingMode, bool final ) : int | ||
IncrementCounter ( ) : void |
protected DecryptBlock ( byte block ) : void | ||
block | byte | /// The block of bytes to be decrypted. /// |
리턴 | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// Indicates whether this method is being called by a user's code. /// |
리턴 | void |
protected EncryptBlock ( byte block ) : void | ||
block | byte | /// The block of bytes to be encrypted. /// |
리턴 | void |
protected ManagedTransformBase ( ISymmetricAlgorithm algorithm, byte rgbIv, TransformDirection transformDirection, Endianness endianness ) : System | ||
algorithm | ISymmetricAlgorithm |
/// A |
rgbIv | byte | /// The initialization vector to use. /// |
transformDirection | TransformDirection | /// The direction of the transform (encryption or decryption). /// |
endianness | Endianness | /// The endianness convention for the algorithm. /// |
리턴 | System |
public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int | ||
inputBuffer | byte | /// The input for which to compute the transform. /// |
inputOffset | int | /// The offset into the input byte array from which to begin using data. /// |
inputCount | int | /// The number of bytes in the input byte array to use as data. /// |
outputBuffer | byte | /// The output to which to write the transform. /// |
outputOffset | int | /// The offset into the output byte array from which to begin writing /// data. /// |
리턴 | int |
public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[] | ||
inputBuffer | byte | /// The input for which to compute the transform. /// |
inputOffset | int | /// The offset into the byte array from which to begin using data. /// |
inputCount | int | /// The number of bytes in the byte array to use as data. /// |
리턴 | byte[] |