implement PKCS#5 to deletePadding()