| 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
)
Public Shared Function CreateConsolidatedString (
text As String
) As String
public:
static String^ CreateConsolidatedString(
String^ text
)
static member CreateConsolidatedString :
text : string -> string
Parameters
- text
- Type: SystemString
The text to encrypt.
Return Value
Type:
StringA 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