Trying to port ruby_ecdsa to rust to learn rust