password-hashes
pbrt-v3
password-hashes | pbrt-v3 | |
---|---|---|
5 | 17 | |
590 | 4,830 | |
4.2% | - | |
7.4 | 2.3 | |
4 days ago | 8 months ago | |
Rust | C++ | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
password-hashes
-
(Why) is a toy password manager a too complex summer project?
I would say a toy (or personal-use-only) password manager is a relatively simple project. If we are to forget about the GUI parts, you need to determine serialization of your password database (bincode + serde should be enough) and how to encrypt it. For the latter you need only two algorithms: a password hash for deriving encryption key from password and optional salt (the latter is usually randomly generated and stored as a "key file"), and an AEAD algorithm for encrypting and decrypting serialized database. There are certain pitfalls with encryption (e.g. you should not reuse nonce with the same key, especially with modes like GCM) and with properly erasing sensitive data from memory, as well as preventing it from leaking to things like swap, but learning about those is part of the learning experience.
-
PasswordRs 0.1.0 released (Rust NIF for password hashing)
I 'cheated' by forwarding everything to their separate Rust libraries which are maintained by https://github.com/RustCrypto/password-hashes . Ofcourse by adding the Elixir wrapper this could have introduced security issues (sadly I don't have enough knowledge about how NIF's handle memory ect. to test/check this myself)
- Encryption / Decryption with Rust | Good Resources / Crates?
-
[ANN] password-auth v0.1: a simple, easy-to-use password authentication library
As noted in the announcement, it's using the latest OWASP recommended parameters for Argon2, namely Argon2id with 19 MiB of memory, an iteration count of 2, and 1 degree of parallelism.
-
Hey Rustaceans! Got an easy question? Ask here (1/2022)!
For password handling, I have had good experience with password-hash and the various algorithm implementations in the password-hashes repo.
pbrt-v3
-
Ask HN: Any good books on ray tracing?
Physically Based Rendering[0] was an excellent textbook when I read it ages ago and conveniently enough it looks to have been updated with a new edition last year.
[0]: https://pbrt.org/
- Spectral Ray Tracing
-
Is it possible and realistic to learn independent of an API?
Physically Based Raytracing
-
C++ Project to Put On Resume
Both of these books are free, and both are written in C++, but they can be done in any language. The first book, a raytracer in a weekend, is part of a series, you can find it here: https://raytracing.github.io/ And, if you get to the third book in that series, or you need a reference book, the PBRT book covers the math in more depth and discusses the latest theory, you can get the last edition of the book (5 years out of date) for free though: https://pbrt.org/
-
(Why) is a toy password manager a too complex summer project?
Making a “complete” one is a never-ending rabbit hole you can spend a lifetime on and is a very active area of research covering more advanced geometry, probability, optics, machine learning etc etc. A great introduction to that is https://pbrt.org
-
Suggestions for some best books on computer vision
This isn't the highest priority but if you haven't already, learn how computer graphics works. Get a working knowledge of the camera matrix, real time graphics (say, OpenGL but threeJS is an option), and photorealistic graphics. PBRT is the go-to for photorealistic graphics. The first two books of Foundations of Game Engine Development are way more useful than they have any right to be (and my favorite textbooks I've ever read, 10/10).
-
Org Mode Gripes
Org-mode strength though is in working with different languages in a same source file, which I am not sure if Knuths version does. Anyway, to see how the original idea looks like, check the Wikipedia article, or to see it in real-life see some of books that are written in the literate style, like Physically Based Rendering, which seems to be available for free nowadays or C Interfaces and Implementations.
- Ask HN: What is the coding exercise you use to explore a new language?
- Path Tracer Project
-
Physically Based: A Database of PBR Values for Real-World Materials
I contributed a tiny bit to pbrt[1], and one of the things I loved was that if you just plugged in physical values you almost always got great results with minimal tweaking.
The Octane data seems most complete at first glance (with complex IOR etc), but for things like milk and blood I expected at the very least some absorption coefficient for the translucency or similar.
[1]: https://pbrt.org/
What are some alternatives?
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
the_raytracer_challenge_repl - A WebAssembly (WASM) based REPL interface for my Raytracer Challenge in Rust project
RustCrypto - Authenticated Encryption with Associated Data Algorithms: high-level encryption ciphers
mitsuba3 - Mitsuba 3: A Retargetable Forward and Inverse Renderer
rustler_precompiled - Use precompiled NIFs from trusted sources in your Elixir code
odin_rosettacode - Odin examples for Rosetta Code
pslink
RiftRay - Step into the worlds of Shadertoy with an Oculus Rift.
password-rs - Elixir wrapper around rust password hashes
tray_rust - A toy ray tracer in Rust
libs-team - The home of the library team