S2C1: implement PKCS7 padding.