1PKCS#7 padding is described on wikipedia page on “Padding (cryptography)”.