Gary Button
Gary Button
Actually I am not sure, will try to dig in a little more.
When we encrypt we store the intermediate as base64, which is why when we decrypt we assume the input is coming in as base64
I think using ArrayBuffers everywhere would make more sense, or we could try to differentiate the input based on if it is a string or not similar to the SHA...
We have array buffers in other places, but we translate them to base64 in most cases. I dont think we can translate directly from javascript to native data types. See:...
Which function are you talking about? You may need to use a second function to convert the digest to a string
I am unsure