getkirby-v2 / toolkit

This is the deprecated toolkit for Kirby v2.
http://getkirby.com
81 stars 50 forks source link

Secure str::random #153

Closed mzur closed 7 years ago

mzur commented 8 years ago

Maybe a more secure str::random function should be considered since it is used to generate the authentication key or CSRF tokens.

What do you think about implementing a random function based on random_bytes and a quickRandom function for insecure stuff like Laravel does?

bastianallgeier commented 8 years ago

Sounds like a useful addition! I will mark this for the next release after 2.3.

sebsel commented 7 years ago

@lukasbestle Isn't this closed in september 2016 by https://github.com/getkirby/toolkit/pull/155?

mzur commented 7 years ago

It is (ref @6ac787ffbdc8cc28a62fcaccbf2d4dbbb248000c).