DesCipher.Crypt Method

CryptSharp

DesCipherCrypt Method CryptSharp
Crypts eight bytes of data in-place.

Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax

public void Crypt(
	byte[] buffer,
	int offset,
	int iterations,
	int salt
)
Public Sub Crypt ( 
	buffer As Byte(),
	offset As Integer,
	iterations As Integer,
	salt As Integer
)
public:
void Crypt(
	array<unsigned char>^ buffer, 
	int offset, 
	int iterations, 
	int salt
)
member Crypt : 
        buffer : byte[] * 
        offset : int * 
        iterations : int * 
        salt : int -> unit 

Parameters

buffer
Type: SystemByte
The buffer to crypt. For traditional DES crypt, this is zero-initialized.
offset
Type: SystemInt32
The offset into the buffer.
iterations
Type: SystemInt32
The number of iterations to run.
salt
Type: SystemInt32
The salt, up to 24 bits.
See Also

Reference