Build a password manager with Rust - Part 2

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • crossterm

    Cross platform terminal library rust

    I'm going to anticipate a "problem" we are going to encounter. For my use case, I would like the user to press Q or Enter to confirm or not that she wants to save a weak password. From what I understood, it's not straightforward to do this with the same io::stdin we used before because of the line-buffered nature of most terminals. Meaning, we have to wait for the user to press Enter to read the input. So, we are going to use the crossterm crate that allow us to read single chars from user's input. We can add it with: cargo add crossterm

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rust_password_manager

    Learning rust by building a password manager

    In this article, we added quite a lot of functionality for our little application. We can now add passwords in three different ways and alert our user if their password is too weak. As always, feel free to tell me if some of this code could be improved, or if you would like to see some functionalities for this password manager. The full code can be found on github

  • rand

    A Rust library for random number generation.

    Now that we have different options to save a new password. We need to implement the logic for each. We'll start by generating a new password. Now, there are several ways to do this. You could use a existing crate that do it for you or build something yourself. I chose to use the rand crate. This is crate is a general-purpose random number generator. It will give us the foundation to randomly generate a password. I'd like to keep some freedom to custom the functionality later on, instead of relying on an existing crate. But feel free to use an existing crate 😉

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Canonical way to handle concurrent events with crates that don't model that use case

    1 project | /r/rust | 21 May 2023
  • [2022 Day 14 (Part 1/2) [Rust] Made a small toy

    2 projects | /r/adventofcode | 16 May 2023
  • How can I create 'time' in my game loop?

    1 project | /r/learnrust | 19 Oct 2022
  • I made a terminal-based flashcard app - with incremental reading!

    2 projects | /r/super_memo | 20 Sep 2022
  • Mazter, a terminal maze game whose simple code may be of interest (terminal events, rendering, A*, maze generator, achievements database, etc.)

    2 projects | /r/rust | 27 Jul 2022

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?