Add first draft of braveEC.sign(), improve style