I'm not sure about this PR. I may have overcomplicated things.
~~The goal was to make it so that the pubkey is always returned as a reference to a fixed-size array.
This is because key algos specify up front their length, so we want to show that we validated that length.
However, I'm not sure that the type machinery I made is user friendly. What are your thoughts @kayhhh @MalekiRe @Schmarni-Dev?~~
Rebased on #100, merge that first.I'm not sure about this PR. I may have overcomplicated things.~~The goal was to make it so that the pubkey is always returned as a reference to a fixed-size array. This is because key algos specify up front their length, so we want to show that we validated that length. However, I'm not sure that the type machinery I made is user friendly. What are your thoughts @kayhhh @MalekiRe @Schmarni-Dev?~~