Leibniz and Cryptography