#!/bin/bash
s='UDACBG UYAZAM DJSUBU WJKMBC NTCGCH DIDEVO RHWDAS'
awk '{for (i=1;i<=NF;i++) r = r "" substr($i,length($i))} END{print r}' <<< "$s"
IyEvYmluL2Jhc2gKcz0nVURBQ0JHIFVZQVpBTSBESlNVQlUgV0pLTUJDIE5UQ0dDSCBESURFVk8gUkhXREFTJwphd2sgJ3tmb3IgKGk9MTtpPD1ORjtpKyspIHIgPSByICIiIHN1YnN0cigkaSxsZW5ndGgoJGkpKX0gRU5Ee3ByaW50IHJ9JyA8PDwgIiRzIg==