padding prior to encryption