Giter Club home page Giter Club logo

Comments (5)

mostafasoufi avatar mostafasoufi commented on June 14, 2024

Hi @DanielRuf,

Have you an alternative the functions?

from wp-statistics.

internationils avatar internationils commented on June 14, 2024

https://www.php.net/manual/en/function.sha1.php
https://www.php.net/manual/en/function.hash.php
use sha256...

from wp-statistics.

DanielRuf avatar DanielRuf commented on June 14, 2024

sha256 can be used but requires bigger fields. What do we have from hashing the IP and useragent? In general the useragent will be frozen in the near future and there may be cases when different users in the same building have the same IP and useragent (for example at work).

Serverside sessions can be used too.
At least ip + useragent is not a unique enough identifier.

NinjaFirewall for example removes the last 3 characters and replaces each of them with a x.

from wp-statistics.

internationils avatar internationils commented on June 14, 2024

Then shorten them, and allow to shorten them to /24 and /16 (so 123.231.222.xxx or 123.231.xxx.xxx) and be done with it. I think the redirection plugin does that too. See https://redirection.me/support/privacy-gdpr/ and https://redirection.me/support/options/ ... he just masks the last octet.
I would do that and close this issue. Or make the field bigger, shouldn't be that much more IP address data... 30% or so?

from wp-statistics.

DanielRuf avatar DanielRuf commented on June 14, 2024

Exactly. IPv6 notation is normally not that long as parts can be compressed with ::.

from wp-statistics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.