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

Compare with Current View Page History

« Previous Version 15 Next »

EN

In the context of the feature "Token Protection" in the VideoManager Pro a authentication code must be generated 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  ist ein Verfahren, das mit Hashfunktionen arbeitet, um Nachrichten zu authentifizieren und deren Integrität zu gewährleisten. HMAC kann mit unterschiedlichen Hashverfahren wie MD5 oder SHA-1 in Verbindung mit einem Schlüssel verwendet werden. Der Eingabewert der Hashfunktion besteht somit nicht nur aus der Nachricht selbst, sondern auch aus einem geheimen Schlüssel. Dieser Schlüssel ist nur den Kommunikationspartnern bekannt, womit es auch nur diesen möglich ist, die Prüfsumme zu erzeugen und somit die Authentizität und Integrität festzustellen.

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 can calculate the checksum and determine the authenticity and integrity.