I am using crypto (methods: randomBytes(), createCipheriv(), createDecipheriv()) in node.js for encryption and decryption of user credentials, which works fine. On the other hand, I have to use the same approach to getting the exact result of encryption and decryption in Angular. As it's confirmed that crypto is not working in Angular. I would like to know any relative way to achieve the require result.
Please, guide me if someone have relative knowledge.
Thank you!
You can try Web Crypto though it isn't as mature as the crypto module from node.js.
There are other 3rd partly libs too like webcrypto