Computer scientists have cracked a manuscript detailing rituals of an 18th-century German secret society.