code: function normalizeLength(token, length) {
  	length = length || 6;
  	if (token.length < length) {
  		token += (new Array(length - token.length + 1)).join('0');
  	}
      return token.slice(0, length);
  }
docs: Pad right with zeroes or cut excess symbols to fit length