Test that encryption is static.

* The curve used for encryption is derived from the key provided.
Use encrypt as static method.
Merge pull request #589 from Renelvon/encrypt_is_static

ECC.Encrypt is static