Looking for a simple way to obscure answers to quiz questions in Markdown temporarily? The idea is to reveal the answers during the presentation, no need for secure encryption.
Considered using
atob('message I want to obfuscate')
and letting students use btoa()
in their developer tools panel to reverse. But running btoa( atob('one') )
doesn't return 'one' as expected.
Any insight on why this method isn't working for decryption? Open to other JavaScript methods that provide basic encryption/decryption functionality without needing additional libraries. Keeping it beginner-friendly for easy implementation.