bcrypt
What is bcrypt?bcrypt is a password-hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher and presented at USENIX in 1999. Besides incorporating a salt to protect against rainbow table attacks, bcrypt is an adaptive function: over time, the iteration count can be increased to make it slower, so it remains resistant to brute-force search attacks even with increasing computation power.
The 'count' described above is synonmous with the 'cost' value described and displayed below. They are both referring to the amount of times the password-hashing function is run, with a starting value of 10 used below.
The two digit cost parameter is the base-2 logarithm of the iteration count for the underlying Blowfish-based hashing algorithmeter and must be in range 04-31, values outside this range will cause [the hashing function] to fail.
The big O of this function follows O(constant*2x). Compare big O here. Learn about big O here
bcrypt Cost against Time O(2x)
2x constant used in f(x): 0.000051
The data from bcrypt runtime that populates the chart was collected while running in php. Given this dataset, users will likely be ok with a Cost of up to 14 which equates to ~0.81 seconds.
Twitch stats
After getting acquainted with big O again, I started getting interested in gathering stats on whatever I could. I immediately hovered towards Twitch since I was already tuning in to various streams. I wanted to get an idea of how viewership worked on a popular game albeit at a relatively slow time.
These stats were taken manually: through saving the html of the site, and removing all the garbage via some regex. I tried to curl the same info once, turns out Twitch does a very good job of providing no valuable info if you're not a genuine user. This planted the question in my mind: Is it possible to add some falsified user metadata to a curl request (i.e. viewport info, browser version, etc...)? Jury's still out on that one, got burned out on this hobby! Nevertheless, this info is still interesting. Looks like the following data fits perfectly with power law.
Just for giggles I did the same for a category with a... beefier set of streamer-communities active: I found the results were significantly more dramatic on the far left. So even though this info might be troubling to new streamers, it's a mild dose compared to competing in the same category with a top 50 streamer.
The data for this was purposefully scrubbed of streamer names.
Game stats
For fun, I did same thing as above, but from steams website while logged in. I've added a few games in here manually, but majority is recorded from steam. This is not live updated, but that's a good idea for future me! I considered adding in tag-level differentiation so to see what genres I spend most of my time in, but that capability falls apart with JSCharts considering most games have 3+ genres.
The data for this was purposefully scrubbed for my privacy.