I have a method:
crypto.subtle.digest('SHA-256', new TextEncoder('utf-8).encode(str));
That returns an array buffer. I can't get it to work for forge as an alternative.
Would anyone know how to accomplish this please?
I have a method:
crypto.subtle.digest('SHA-256', new TextEncoder('utf-8).encode(str));
That returns an array buffer. I can't get it to work for forge as an alternative.
Would anyone know how to accomplish this please?