createCipheriv and the
aes-256-ctr algorithm (after making the object a string with
JSON.stringify). I am storing this encrypted object with
localStorage in the browser, and checking if the credentials are valid every time localStorage is changed.
To summarize, I just want to know if this way of storing information is secure and reliable for when I make my website public. I am new to information security, so any suggestions to making my approach more simple or secure would be greatly appreciated.