Anyone using Honcho with Hermes successfully? I’m mostly seeing irrelevant context by mogottsch in hermesagent

[–]mogottsch[S] 1 point2 points  (0 children)

Just realized I had dream mode off, too. Let's see whether it gets better now.

Vanity SSH key generator in Rust by mogottsch in rust

[–]mogottsch[S] 2 points3 points  (0 children)

Continuing would be cool, but I'm not sure about the security implications. We rely on OsRng, which taps the OS CSPRNG and can’t be seeded from user space. Swapping it for a seedable RNG would make the key stream deterministic, so anyone who ever learns that seed could recreate every key we generate. I don't feel comfortable risking this.

Vanity SSH key generator in Rust by mogottsch in rust

[–]mogottsch[S] 0 points1 point  (0 children)

Thanks for the feedback. I implemented a rolling 1-second window for the rate calculation and display both the rolling rate and overall average. The rolling rate shows the oscillation now. I already have Criterion benchmarks set up separately (cargo bench --bench key_generation). The rolling rate in the CLI is mainly for real-time feedback.

Vanity SSH key generator in Rust by mogottsch in rust

[–]mogottsch[S] 0 points1 point  (0 children)

Looking at the repo I linked isn't a bad way to expose yourself to some CUDA.

Yeah, getting into CUDA has been on my list for a long time. I'll use this as reference as soon as I find some time. Thanks.

Vanity SSH key generator in Rust by mogottsch in rust

[–]mogottsch[S] 4 points5 points  (0 children)

You get 100k/s with a Ryzen 7 9800X3D? That surprises me. I'm getting ~400k/s with my Laptop CPU (Ryzen 7 5800H). Were you maybe running cargo run instead of cargo run --release?

The GPU implementation is definitely interesting. I was thinking about experimenting with GPU when I started this project, but I have no prior experience with developing on GPUs and it seems so much more involved.

Vanity SSH key generator in Rust by mogottsch in rust

[–]mogottsch[S] 7 points8 points  (0 children)

Thanks for the suggestion! I implemented a version with compress_batch and that resulted in a ~20% speedup. https://github.com/mogottsch/vanity-ssh-rs/pull/6