https://github.com/shambac/base64-cli-windows
A command line tool to encode decode strings into Base64 for windows
https://github.com/shambac/base64-cli-windows
base64 cli windows
Last synced: about 2 months ago
JSON representation
A command line tool to encode decode strings into Base64 for windows
- Host: GitHub
- URL: https://github.com/shambac/base64-cli-windows
- Owner: ShambaC
- License: mit
- Created: 2024-03-07T06:10:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T07:13:05.000Z (over 2 years ago)
- Last Synced: 2025-01-13T12:22:03.512Z (over 1 year ago)
- Topics: base64, cli, windows
- Language: C++
- 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
# Base64 CLI windows
A CLI tool to encode decode strings into Base64 for windows
## Why
One day I was looking for some command for windows that I can use to encode and decode a string to and from base64. And I did find some, but they all needed me to write some complex stuff just to do this. And I wanted a offline tool because its too much work to open up a browser and go to some site. Thus I made this.
> [!TIP]
> Its totally my original stuff, not stolen at all
Stolen Stuff
- [Encode function](http://web.mit.edu/freebsd/head/contrib/wpa/src/utils/base64.c) by Jouni Malinen, edited by GaspardP
- [Decode function](https://stackoverflow.com/a/37109258/22601798) by Polfosol
These were compiled and compared by GasperdP to provide the best soultion [here](https://stackoverflow.com/a/41094722/22601798)
## How to use
compile the cpp program or use the provided exe to run the command. I am not a smelly nerd!
```
// compile
g++ base64.cpp -o base64
```
Run in terminal
```
base64 [encode/decode/-e/-d]
```