The Audio API provided by HTML5 for JavaScript programming allows developers to directly operate the original audio stream data in the code, and conduct arbitrary generation, processing, and reconstruction of it, such as improving the voice color, changing the tone, audio segmentation, and other operations, which can even be called the web version of Adobe Audit.

AudioContext fingerprint principle:

1: generate audio information stream (triangular wave), perform FFT transform on it, and calculate SHA value as fingerprint.

2: generate audio information stream (sine wave), conduct dynamic compression processing, and calculate MD5 value.

Both methods are used to clear the audio before it is output to the audio device, and the user is not aware of the fingerprint.

Fundamentals of AudioContext fingerprint:

Slight differences in the hardware or software of the host or browser lead to differences in the processing of audio signals. The same browser on the same device produces the same audio output, and the audio output produced by different machines or browsers will vary.

The principle of AudioContext and Canvas fingerprint is very similar. They both use the difference of hardware or software. The former generates audio, the latter generates pictures, and then calculates different hash values as identification.


Last updated