//Default encryption can be overwritten with custom encryption
        public virtual string EncryptResponse(AuthenticationDto authenticationDto)
        {
            var serialisedResult = authenticationDto.Serialize();

            return(SecurityHelper.EncryptString(serialisedResult, GetKey()));
        }