Skip to main content

Base64 encode and decode shell functions.

base64encode () {
	echo -n "$1" | base64 ; echo
}

base64decode () {
	echo -n "$1" | base64 -d ; echo
}