If one-character letters, such as the uppercase letter ‘I’ and the lowercase letter ‘l’, are arranged irregularly, they take on a uniform appearance like a barcode, and they have the same shape in most English game fonts, making them almost impossible to distinguish.
Because it is difficult to recognize users, it is also used to prevent friendships and naming in communities.
const chars = 'Il'; const array = new Uint32Array(lengthValue); window.crypto.getRandomValues(array); for (let i = 0; i < lengthValue; ++i) nickname += chars[array[i] % chars.length];
Uint32Array
object to store random integers of the given length.crypto.getRandomValues()
method to populate it with random values.Il
to generate a nickname.Easy tools related to various games