C# Class Internal.Cryptography.BasicSymmetricCipherBCrypt

Inheritance: Internal.Cryptography.BasicSymmetricCipher
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
BasicSymmetricCipherBCrypt ( SafeAlgorithmHandle algorithm, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, byte iv, bool encrypting ) : System
Transform ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
TransformFinal ( byte input, int inputOffset, int count ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Reset ( ) : void

Method Details

BasicSymmetricCipherBCrypt() public method

public BasicSymmetricCipherBCrypt ( SafeAlgorithmHandle algorithm, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, byte iv, bool encrypting ) : System
algorithm Internal.NativeCrypto.SafeAlgorithmHandle
cipherMode CipherMode
blockSizeInBytes int
key byte
effectiveKeyLength int
iv byte
encrypting bool
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Transform() public method

public Transform ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
input byte
inputOffset int
count int
output byte
outputOffset int
return int

TransformFinal() public method

public TransformFinal ( byte input, int inputOffset, int count ) : byte[]
input byte
inputOffset int
count int
return byte[]