XML Encryption example


Before: After CreditCard data is encrypted:
<PaymentInfo>
 <Name>
  Alfred
 </Name>
 <CreditCard>
   <Number>
    1234 5678 1234
   </Number>
   <Expiration>
    20 May 2004
   </Expiration>
 </CreditCard>
</PaymentInfo>
<PaymentInfo>
 <Name>
  Alfred
 </Name>
 <EncryptedData xmlns="">
  <ds:KeyInfo>
   ...
  </ds:KeyInfo>
  <CipherData>
   M3MXCV...
  </CipherData>
 </EncryptedData>
</PaymentInfo>