Click or drag to resize
Galactic API

AES256CreateConsolidatedString Method

Encrypts a string of text with AES 256, and concatenates the key and initialization vector to the beginning of the string, and the length of the key and initialization vector to the end of the string. This is useful in scenarios where it is not feasible to store the key and initialization vector seperately, though not as secure.

Namespace:  Galactic.Cryptography
Assembly:  Galactic.Cryptography (in Galactic.Cryptography.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static string CreateConsolidatedString(
	string text
)

Parameters

text
Type: SystemString
The text to encrypt.

Return Value

Type: String
A string representation containing the key, initialization vector, and encrypted text, along with the lengths of the key and initialization vector, or a null string if the text could not be encrypted or an error occurs creating the string.
See Also