akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel
https://akaunting.com
MIT License
942 stars 106 forks source link

How can I hash the IP address? #47

Closed iec989 closed 2 years ago

iec989 commented 3 years ago

I would like to save the IP hashed instead of raw - is there anywhere where I can say how I want the IP to be saved?

i.e. hash("sha256", 'abcd'.\Request::ip().'1234')

denisdulici commented 2 years ago

That's not possible atm but feel free to send a PR.