Generate a random PIN code.

        :param mask: Mask of pin code.
        :return: PIN code.

def pin(self, mask: str = '####') -> str:
        """Generate a random PIN code.

        :param mask: Mask of pin code.
        :return: PIN code.
        """
        return self.random.custom_code(mask=mask)