https://github.com/techgaun/crypt-b64
Simple tool to decode & encode crypt based base64 encoded text to standard base64 encoding
https://github.com/techgaun/crypt-b64
Last synced: about 1 year ago
JSON representation
Simple tool to decode & encode crypt based base64 encoded text to standard base64 encoding
- Host: GitHub
- URL: https://github.com/techgaun/crypt-b64
- Owner: techgaun
- License: mit
- Created: 2021-03-04T01:46:52.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-04T03:52:53.000Z (about 5 years ago)
- Last Synced: 2024-04-14T06:05:15.587Z (about 2 years ago)
- Language: Go
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crypt-b64
> Quick simple tool to encode crypt based base64 encoded text to standard base64 encoding
Crypt's encoding uses `./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz` as the charset
and base64 encoding (as we know & use a lot) uses `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/` as the charset.
## Example
Given hash: `$6$HuxJVXbQPLPnqRB$DHCTcDd7xa2pB1l/e64Zg8kRmRuV0EChEoftE5rf3.L2B168CA2ir5/EGIBkwLw1Un3E8.43DXe4wwtjqLrxi1`
```shell
./crypt-b64 'DHCTcDd7xa2pB1l/e64Zg8kRmRuV0EChEoftE5rf3.L2B168CA2ir5/EGIBkwLw1Un3E8.43DXe4wwtjqLrxi1'
```
## Why
Ikr. Was needed for custom tooling.