How do I calculate the md5 checksum of a string in starbasic macro (openoffice macro)?
<p>I am trying to make an OpenOfficeWriter StarBasic-Macro Program, that turns wiki source code to Open office Writer. I need  a starbasic macro, that generates the MD5 checksum. There is a MD5Thumbprint  in the Documentation for OpenOffice, so I suppose you can compute the MD5 in a Open Office starbasic macro using some kind of macro code. This is what I'm looking for.</p>

<p>I suppose I have to use the XCertificate Interface in the security module, but I don't know how the macro code should be. So I need a Open Office starbasic macro command or code like: <code>stringMD5=s.md5()</code>, where will be a string (for example something like "Douglas C-47 Skytrain.jpg") and stringMD5 should be a string or something that I can make to a string (in this example the outcome in the end should be the string "40decfb5f1be8bca1e56c8a853027941", which is the MD5 for the String "Douglas C-47 Skytrain.jpg").</p>

<p>I would like to avoid using Python (see:<a href="https://stackoverflow.com/questions/5297448/how-to-get-md5-sum-of-a-string#5297495">How to get MD5 sum of a string?</a>) and create a starbasic macro instead. If somebody has a tip, I will be of course very glad. George</p>