Was rushing because my internet went away. And mixed with the npub converter. It is for converting npubs to hexs vica versa.
To convert the nsec, I will write you tomorrow! I will also quickly try to do the signing as well to let you know if it works!