public void CanRoundTripEncryption() { string encrypted = CaptchaBase.EncryptString("Hello Sucka!"); string decrypted = CaptchaBase.DecryptString(encrypted); Assert.AreEqual("Hello Sucka!", decrypted, "Round trip did not work."); }
//- @Ctor -// public CommentInput(CaptchaBase captcha) { this.CaptchaControl = captcha; }