SIFWorks ADK 2.0
GetInstance Method (algorithm, keyName, key)
NamespacesEdustructures.SifWorksSifEncryptionGetInstance(PasswordAlgorithm, String, array<Byte>[]())

[This is preliminary documentation and is subject to change.]

Creates an instance of SIFEncryption that uses the specified PasswordAlgorithm, keyName and key
Declaration Syntax
C#Visual BasicVisual C++
public static SifEncryption GetInstance(
	PasswordAlgorithm algorithm,
	string keyName,
	byte[] key
)
Public Shared Function GetInstance ( _
	algorithm As PasswordAlgorithm, _
	keyName As String, _
	key As Byte() _
) As SifEncryption
public:
static SifEncryption^ GetInstance (
	PasswordAlgorithm^ algorithm, 
	String^ keyName, 
	array<unsigned char>^ key
)
Parameters
algorithm (PasswordAlgorithm)
The algorithm to use for encrypting or decrypting passwords
keyName (String)
The name of the encryption key to use.
key (array<Byte>[]())
The encryption key to use. This parameter is ignored for SHA1 and MD5 because they are not keyed hash algorithms
Return Value
An instance of the SifEncryption class for reading and writing passwords

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10