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
Post a Comment