[JS] How to use SubtleCrypto object? | Sololearn: Learn to code for FREE!

0

[JS] How to use SubtleCrypto object?

When I was bored I just was looking at JS Web API's. And then I found SubtleCrypto... I read a small wikipage about it, but didn't get how it works. The only thing I know about it that SubtleCrypto is crypting object for web JS. My question is - how to use this Object and how to encrypt a string with it?

6/23/2018 5:23:31 PM

v1rtl

2 Answers

New Answer

0

You will need to fetch JSON from the API, do you know anything how promises and async/await works?

0

damyco I understand promises when they appear in someone's code, but I've never used them by myself. The same thing with async await