decryptData, moved from ReceivedBucket.decode