Activity

Eli Nelson

Ok, so I was very disappointed with today’s performance, so I found some more time to keep working!
I was able to work for another hour or so, and after reading some documentation about Levenshtein distance, I was able to finish the penalties function.

I found a list of the 100k most-used passwords (link to list), and it helped out quite a bit with the penalties!

The speed was pretty slow at first (around 80ms per password), but I realized that was just the first password since it needed to load the list.
After that, it matches the speed of other crates like zxcvbn pretty closely (around 3ms per password).

Attachment
0
Eli Nelson

Today I worked on documentation for quite a while. I ran into an issue where examples can’t use non-public functions, so I decided to make the helper scoring functions public. This also lets them show up in the documentation.

Overall, I didn’t get as much done as I would have liked today, but I’ll keep working on it Monday.

PS: If anyone knows how to make a new line without or taking up an additional line of comments please let me know!

Attachment
0
Eli Nelson

Today I started the Passcore project and worked on designing how the library will score each part of a password. I started with length and decided to write the function before moving on to the next part of password scoring. It took about an hour but now its done!

Attachment
0
Eli Nelson

Its done! (At least this version!) I just pushed the final changes to the crate, any minor issues from now on will not be devloged. If I have any majors changes I will log them though!

Thanks for anyone who helped with testing!

Attachment
0
Eli Nelson

I think I am done I did some more work on the project and I think its pretty good and polished, I am looking for feedback before I ship though! I also added PCG as another RNG engine.

Attachment
0
Eli Nelson

Made version 0.2.1 in which I updated the functions, added better documentation including examples, and made plans for an updated rng system. Additionally I added a no-std feature where you can use the library without the rust standard library!

Attachment
0
Eli Nelson

I created the GitHub repository and used AI to generate the initial README. I’ve also updated the library, added more functions with comments, and published it to crates.io. It’s basically complete, though I might make a few minor updates soon.

Attachment
0
Eli Nelson

I started making a random poem generator with the challenge of only the rust core libraries. This was quickly a challenge because I would soon need some random numbers to make my awful random poems!

So I learned how to take the SYSTEM_TIME and make the seed. And then what a linear congruential generator was and how to make some pseudo-random numbers.

I am going to spend some more time working on a library of my RNG system as a more simple aproch that the RAND crate I normally use and always get confused using.

Attachment
0