https://github.com/mezantrop/base64
A very simple Base64 encoder/decoder for learning purposes
https://github.com/mezantrop/base64
base64 python
Last synced: 7 months ago
JSON representation
A very simple Base64 encoder/decoder for learning purposes
- Host: GitHub
- URL: https://github.com/mezantrop/base64
- Owner: mezantrop
- License: other
- Created: 2023-06-13T19:16:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T18:11:59.000Z (over 2 years ago)
- Last Synced: 2025-01-28T16:46:08.243Z (8 months ago)
- Topics: base64, python
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A very simple Base64 encoder/decoder in Python for learning purposes
Almost the same, but in [C](https://github.com/mezantrop/ts-warp/blob/master/base64.c)
## Usage
```Python3
import Base64
print(Base64.Base64().encode('Many hands make light work.'))
TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcmsu
print(Base64.Base64().decode('TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcmsu'))
'Many hands make light work.'
```