UTC02:22:32
LAUSANNE03:22:32
46.5196°N 6.6322°E

Case // 05

PasswordCard

Strong, unique passwords on a card that fits in a wallet.

All projects

Fact sheet

A Windows application that generates, stores and prints password cards in the credit card format (ISO/IEC 7810). Each card carries a random character matrix: the user traces a mental pattern on it to rebuild long, unique passwords, with no device and no internet. My final project at ETML, built alone in 104 hours from the client's specification to a tested product, and documented in a 143-page report.

Context
Final project, ETML, for its teachers and students
Role
Sole analyst, designer, developer and tester
Team
Solo, with a project manager acting as client and two expert examiners
Period
2022
Status
Delivered
  • 100%of the required features delivered
  • 104 hfrom specification to delivery (89 planned)
  • 143pages of documentation
  • 83+distinct characters in each random matrix

Challenge

01

People juggle dozens of credentials, and most solutions (password managers, browser sync, authenticator apps) depend on a specific device or on internet access. The school wanted its teachers and students to always have their passwords with them, securely, on a card they can carry, without writing them down in clear.

Approach

02

A UWP application in C# and XAML, with an MVC structure nested inside UWP's own MVVM: views never reach a model without going through a controller. Accounts are stored as salted SHA-512 hashes and every query is parameterised. A Fisher-Yates shuffle fills a 10 by 10 matrix from at least 83 distinct characters, and PDFSharpCore lays out the front and back of the card to ISO/IEC 7810, with the user's own labels on the back. A profile view counts the cards generated per user and per school year.

Outcome

03

Every required feature delivered and every technical objective met, including a print quality approved by the project manager and the test audience. User tests led to a redesigned card and an in-app tutorial. The project took 104 hours against 89 planned, the extra time going into documentation.

Architecture

SCHEMA
PasswordCard: ArchitectureUWP application: MVC inside MVVMInterfaceControllersModelsStorage and outputSign-in viewsSign in and registerProfile viewStatistics per schoolyearCard managerCreate, edit, print cardsAccountControllerSession, password rulesCardControllerCard CRUD, blank cardsPDFControllerStarts PDF generationAccountModelSalted SHA-512 hashesPasswordCardModelFisher-Yates matrix, 83+charactersPDFModelPDFSharpCore, ISO/IEC7810Data access layerParameterised queriesMySQL 5.7Users and cardsPrintable PDFFront and back, walletsizestatsSQL
Views talk only to controllers, controllers to models, and models to the data access layer: the MVC rule the examiners checked, kept inside UWP's own MVVM pattern.
Interface
Sign-in viewsSign in and register
Profile viewStatistics per school year
Card managerCreate, edit, print cards
Controllers
AccountControllerSession, password rules
CardControllerCard CRUD, blank cards
PDFControllerStarts PDF generation
Models
AccountModelSalted SHA-512 hashes
PasswordCardModelFisher-Yates matrix, 83+ characters
PDFModelPDFSharpCore, ISO/IEC 7810
Storage and output
Data access layerParameterised queries
MySQL 5.7Users and cards
Printable PDFFront and back, wallet size

Swipe sideways to explore the diagram

Work breakdown

WBS

The project followed IPERKA, the six-step Swiss method, and each step left a written trace in the report.

  1. 01

    Inform

    Interviews with the client, study of existing password cards, and every open question answered in writing.

  2. 02

    Plan

    An 89-hour plan over four weeks, from 9 May to 6 June 2022, with the report and work log delivered twice a week.

  3. 03

    Decide

    SWOT analysis, MVC architecture inside MVVM, Merise data model, and mock-ups of every screen.

  4. 04

    Realise

    Data access layer, models, PDF generation, views and controllers in C# and XAML.

  5. 05

    Check

    Test plan run on the published package, and card variants tested with users.

  6. 06

    Evaluate

    Review of features, technical objectives, planning and lessons learned.

What I did

  • Requirements gathered in interviews with the client and broken down into testable features
  • IPERKA method, SWOT analysis and a detailed work log, sent to the examiners twice a week
  • Merise data model (MCD, MLD, MPD) and data dictionary, designed in DB-Main
  • MVC inside UWP's MVVM, with a data access layer and singletons
  • Security: salted SHA-512 password hashes, parameterised SQL, password rules checked by regular expression
  • Card design iterated with users: variants tested, final layout and tutorial chosen from their feedback
  • Test plan with expected and actual results for every feature

Stack

Desktop
  • C#
  • UWP
  • XAML
  • .NET
Data
  • MySQL 5.7
  • MySql.Data
  • DB-Main (Merise)
Tooling
  • PDFSharpCore
  • Visual Studio 2019
  • GitHub
  • draw.io

Gallery

Related services

Need something similar? These are the services this project demonstrates.

Get in touch