lundi 2 juillet 2018

Hash method returns undefined on Server

im using the following Method to generate a hash value:

const hashBuffer = await crypto.subtle.digest('SHA-1', msgBuffer);

It works fine when I have the html containing the script on my local machine. When I deploy it to the Test-Server it returns undefined. Does someone have an idea what the Problem could be?

Snerps




Aucun commentaire:

Enregistrer un commentaire