string IActivationService.GenerateActivateToken(string userName) { Contract.Requires(!userName.IsNullOrEmpty()); return(_encryptionService.AesEncrypt(userName, _key, _iv)); }