///<inheritdoc/>
        public string Generate(long size)
        {
            if (size < 1)
            {
                throw new ArgumentException("'size' could not be less than zero");
            }

            var data = _randomNumberGenerator.GenerateNextBytes(size);

            return(new string(data.Select(x => Chars[x % Chars.Length]).ToArray()));
        }