decrypt static method
Implementation
static String decrypt(String encryptedStr) {
String sb = encryptedStr;
String str = '';
for (int i = 0; i < sb.length; i++) {
if ((i + 1) % 2 == 0) {
str = "$str${sb[i]}";
}
}
return str.toString().split('').reversed.join();
}