29 Sep
2015
29 Sep
'15
2:51 p.m.
Hi Michel, As the function only accepts strings as input, you can either explicitly cast your binary item to string – via xs:string($binary)… or contact the author of the module (Claudius Teodorescu) and issue a feature request. HTH, Christian On Tue, Sep 29, 2015 at 2:22 PM, Michel Banguerski <banguerski@gmail.com> wrote:
Greetings all,
I would like to perform cryptographic operations with arbitrary binary files but am unable to figure how to convert the output of file:read-binary() to something that could be processed by crypto:hmac() for example.
Can You give me a hint please?
TIA Best regards Michel