The former president added that central bank digital currencies pose a "dangerous threat to freedom."