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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -