Signature using Bitcoin keys in three formats