CryptographyAddSalt Method

Adds salt to a plaintext string to help prevent certain kinds of attacks against symmetric ciphers.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public static string AddSalt(
	string plainText
)

Parameters

plainText  String
The plaintext to obfuscate.

Return Value

String
A salted string ready for encryption.

Remarks

The salted string will be longer than the plaintext string, and may result in a still-longer ciphertext. Also, the obfuscation performed, while greatly increasing the security of symmetric ciphers, does nothing to conceal the plaintext string from attack.

The implementation of this routine is not guaranteed to remain the same between version releases of the Idea framework. The current implementation last changed with version 1.0 rev. 1152.

Read by Michael Howard for more information on this technique.

See Also