Generates a key and an initialization value. Max size is 32 = keySize+blockSize

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
protected void GenerateKey(
	string secretPhrase,
	short keySize,
	short blockSize
)
Visual Basic
Protected Sub GenerateKey ( _
	secretPhrase As String, _
	keySize As Short, _
	blockSize As Short _
)
Visual C++
protected:
void GenerateKey(
	String^ secretPhrase, 
	short keySize, 
	short blockSize
)

Parameters

secretPhrase
Type: System..::..String
Passphrase
keySize
Type: System..::..Int16
Algorithm TextVigenere Size in bytes
blockSize
Type: System..::..Int16
Algorithm Block (and IV) Size in bytes

Exceptions

See Also