eService: Changing the encryption/decryption settings

Mar 1, 2010 at 6:33 PM

I found in the CreateUserAccount.ascx.cs file where the decryption settings are stored:

		string passPhrase = "Pas5pr@se";        // can be any string
		string saltValue = "s@1tValue";        // can be any string
		string hashAlgorithm = "SHA1";             // can be "MD5"
		int passwordIterations = 2;                  // can be any number
		string initVector = "@1B2c3D4e5F6g7H8"; // must be 16 bytes
		int keySize = 256;                // can be 192 or 128

		string plainText = Decrypt(Request.QueryString["id"],
													passPhrase,
													saltValue,
													hashAlgorithm,
													passwordIterations,
													initVector,
													keySize);

This seems to indicate that these values can be changed; simple enough.  Where do I change the values for the encryption side of it so they match?

Mar 1, 2010 at 6:46 PM

I found it!  Look in the SignUpEmail.cs file under the eService Workflow Assembly source code.