Angular Client Side Encryption Javascript Interview Question