If your interface uses the Redirection method, you can find useful instructions for calculating the digest at the following link.
For direct interface and more specifically for the XML VPOS request, you can find relevant instructions for calculating the digest at the following link.