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.


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 becomes
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.