C# Calculate SHA256 value for SEPA (XML) paymentfile

前端 未结 1 783
自闭症患者
自闭症患者 2021-01-06 13:29

in the specification of the \"DFÜ agreement\" is described to calculate the hashvalue for a SEPA container payment file by SHA256.

The hash value is

1条回答
  •  借酒劲吻你
    2021-01-06 14:12

    Ok i want to inform about the solution, maybe any one will find these topic:
    The document node has to selected directly in that way from the container: "XmlNodeList documentNodeList = sepaContainer.GetElementsByTagName("Document");"

    then the outer xml of the first entry have to be canonized and convert to hash.

    also the first posted value: 7DDB2138E8C91037DA7A6E9552478C59A2AACE26F8112EBC8012A8DE11592025 is wrong the correct value will be 38B862BD35B95D8CB20448153B5F6F73B3657EB1BC81CF11D3491D16EEA94009

    0 讨论(0)
提交回复
热议问题