Implemented support for secp256k1 (issue #4).