Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mahe54 committed Jun 15, 2023
1 parent 156df48 commit f617e93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,31 @@ brew install b64
##### base64 std encode:
```
b64 -e SomethingToEncode
```
```
echo "SomethingToEncode" | b64 -e
```

##### base64 std decode:
```
b64 -d U29tZXRoaW5nVG9FbmNvZGU=
```
```
echo "U29tZXRoaW5nVG9FbmNvZGU=" | b64 -d
```

##### base64 url encode (raw):
```
b64 -e -u SomethingToEncode
```
```
echo "SomethingToEncode" | b64 -e -u
```

##### base64 url decode (raw):
```
b64 -d -u U29tZXRoaW5nVG9FbmNvZGU
```
```
echo "U29tZXRoaW5nVG9FbmNvZGU" | b64 -d -u
```

0 comments on commit f617e93

Please sign in to comment.