data-size attribute is used to set the number of characters that is used in the field, if you need a password with 12 characters, then set this attribute to 12.
data-character-set attribute is used to set the character type used in the password. You can use numbers
a-z (and or)
A-Z, and spical characters
#. All of these sets can be used individually work together.