throughout the otherwise dark medieval period , judaism was revitalized again and again by mystical and pietistic movements , the most important of which were the 12th-century german hasidic movement and the 13th-century spanish kabbalah , which produced sefer ha-zohar ( the book of splendor ) by moses de len .