ECDSA support

Closes #8