Testing ecelgamal encrypt/decrypt in performance loop