Intoduction

If a base 64 encoded password is needed for testing. Here’s the code required:

Commands

~$ perl -MMIME::Base64 -e \
> 'print encode_base64("john\@example.org\0john\@example.org\0password")';

This will output the following base 64 encoded string:

ZGF2ZUBpcC1saWZlLm5ldABkYXZlaXAtbGlmZS5uZXQAcGFzc3dvcmQ=

 

Base64-encoding Usernames & Passwords
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.