How Matomo anonymises IP Addresses?

I would like to know which method/process Matomo uses to anonymise IP Addresses.

Does Matomo use real anonymisation of data or only encrypted data?

Thank you.

Hi,

I am not entirely sure I understand your question. Also keep in mind that encryption has nothing to do with anonymisation.

Matomo by default throws away the last two octets of the IP-Adress and replaces them with 0.
So 1.2.3.4 becomes 1.2.0.0
One can consider this “real anonymisation” as the information is thrown away and not just ovfuscated.

How many octets are thrown away can be configured in the Matomo settings.