Is UUID without dashes/hyphens valid?

The production in RFC 4122 (section 3, page 4), defines UUID string representation as UUID = time-low “-” time-mid “-” time-high-and-version “-” clock-seq-and-reserved clock-seq-low “-” node where each internal component is hex-encoded. Therefore, f47ac10b58cc4372a5670e02b2c3d479 is not a valid UUID representation.

RNGCryptoServiceProvider in .Net Core

System.Security.Cryptography.RandomNumberGenerator is the base class for Cryptographically-Secure Pseudo-Random Number Generator (CSPRNG) implementations. In .NET Framework RandomNumberGenerator.Create() returns an RNGCryptoServiceProvider instance (unless configured differently by CryptoConfig). In .NET Core RandomNumberGenerator.Create() returns an opaque type which is based on BCryptGenRandom (Windows) or OpenSSL’s random number generator (!Windows). RandomNumberGenerator.Create() is the only way to get an RNG instance … Read more

Rainbow tables as a solution to large prime factoring

From one of my favorite books ever, Applied Cryptography by Bruce Schneier “If someone created a database of all primes, won’t he be able to use that database to break public-key algorithms? Yes, but he can’t do it. If you could store one gigabyte of information on a drive weighing one gram, then a list … Read more

How many prime numbers are there (available for RSA encryption)?

RSA doesn’t pick from a list of known primes: it generates a new very large number, then applies an algorithm to find a nearby number that is almost certainly prime. See this useful description of large prime generation): The standard way to generate big prime numbers is to take a preselected random number of the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)