xmlsec implements the padding specified in XML Enc spec: http://www.w3.org/TR/xmlenc-core/#sec-Alg-Block I can't find the definition of ISO 10126 padding and I can't tell if it is the same or not. Aleksey