On dokuwiki, there is the plugin "Encrypted Passwords". This plugin let you store 256 bit AES encrypted passwords in your DokuWiki pages. The password can be decrypted by clicking them (Javascript must be enabled).
How to do the same thing on Confluence? Thank you