Hi All

I've generated an XML document and need to do the following:
- Canonicalize (14N) the XML Document
- Generate a 160-bit binary secure has from the canonicalized xml using SHA-1
algorithm
- Encode the binary data using base-64 to produce a 28 characters string
- Encode the binary data using base-32 to produce an easily humanreadable 32 
characters string

IRMark generation step by step is here 
http://www.hmrc.gov.uk/ebu/irmark-techpack/irmark_step_by_step.pdf

Thanks,

Hugon

Reply via email to