User Tools

Site Tools


tips:base64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:base64 [2023/05/18 13:05] – created lucidtips:base64 [2023/05/18 13:08] (current) lucid
Line 2: Line 2:
  
 Super easy on Linux Super easy on Linux
- 
  
 Encode: Encode:
 +
   echo -n "sometext" | base64   echo -n "sometext" | base64
-  + 
 +> -n     do not output the trailing newline 
 + 
 +\\
 Decode: Decode:
 +
   echo "c29tZXRleHQ=" | base64 --decode   echo "c29tZXRleHQ=" | base64 --decode
tips/base64.1684415149.txt.gz · Last modified: 2023/05/18 13:05 by lucid