for example refer this site : mithunvp.com/using-angular-2-asp-net-mvc-5-visual-studio/ open console (f12) and type window.crypto.subtle it returns undefined. Can you please tell me what im doing wrong here or are there are any Pure JS libraries to generate crypto.subtle.importKey() ??