Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 35eb46f

Browse files
committedOct 16, 2024·
Updated details to run the program
1 parent 03a4251 commit 35eb46f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎ciphers/base64.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ def base64_decode(encoded_data: str) -> bytes:
136136
return bytes(data)
137137

138138

139+
#TO run/ dry run.. Add the following lines
140+
# encoded = base64_encode(b"Hello, World!")
141+
# print(f"Encoded: {encoded}")
142+
143+
# decoded = base64_decode(encoded.decode())
144+
# print(f"Decoded: {decoded}")
145+
139146
if __name__ == "__main__":
140147
import doctest
141148

0 commit comments

Comments
 (0)
Please sign in to comment.