How to decrypt Base64 to Plaintext & Viceversa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
base64_message = 'BASE64' # pesan yang ingin di-decode | |
decoded_message = base64.b64decode(base64_message) # proses decoding | |
print(decoded_message.decode('utf-8')) # print hasil decoding |
Base64 Decryptor
#!/bin/bash
# prompt user for encoded message
read -p "Enter the base64 message to be decoded: " encoded_message
# decode the base64 message using base64 command
decoded_message=$(echo -n $encoded_message | base64 -d)
# print the decoded message
echo "The decoded message is: $decoded_message"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Base64 Generator