You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

In the context of the feature "Token Protection" in the VideoManager a authentication code must be generated and then added to the embed code so that videos with token protection can be played out.

In this section, you will learn how to calculate a HMAC-SHA256 based signature for this purpose.

HMAC is a technique that uses hash functions (SHA256) to authenticate messages and to ensure their integrity. Because HMAC is used in conjunction with a key, the input value of the hash function is not only from the message itself, but also from a secret key. This key is known only to you, thus it is only you, who can calculate the appropriate checksum and determine the authenticity and integrity.