Crypts eight bytes of data in-place.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
public void Crypt(
byte[] buffer,
int offset,
int iterations,
int salt
)
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
member Crypt :
buffer : byte[] *
offset : int *
iterations : int *
salt : int -> unit
Parameters
- buffer
- Type: System Byte
The buffer to crypt. For traditional DES crypt, this is zero-initialized.
- offset
- Type: System Int32
The offset into the buffer.
- iterations
- Type: System Int32
The number of iterations to run.
- salt
- Type: System Int32
The salt, up to 24 bits.