c++ - base64 encode string from a terminal? -


os x 10.8.3 c++

we have base64 encode , decode functions in our code.

however, want base64 encode string terminal , use in code our functions can decode when needs used.

how 1 base64 encode string terminal?

using base64 command, sensibly enough:

# echo hello | base64 sgvsbg8k # echo sgvsbg8k | base64 -d hello 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -