Added randomized padding before encryption