import hashlib


def signs(data: bytes, secret: bytes, auth_size=16, **kwargs) -> bytes:
    """Using blake2b, a set of encryption algorithms to sign our data.
    :param data: The byte of data,

    :param secret: A secret key

    :param auth_size: digest size key

    :return: Bytes of encrypted hash.
    """
    h = hashlib.blake2b(digest_size=auth_size, key=secret, **kwargs)
    h.update(data)
    return h.hexdigest().encode('utf-8')