def decrypt_seiga_drm(enc_bytes, key):
    """Decrypt the light DRM applied to certain Seiga images."""
    n = []
    a = 8
    for i in range(a):
        start = 2 * i
        value = int(key[start:start + 2], 16)
        n.append(value)
    dec_bytes = bytearray(enc_bytes)
    for i in range(len(enc_bytes)):
        dec_bytes[i] = dec_bytes[i] ^ n[i % a]
    return dec_bytes
