Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.04 KB

README.md

File metadata and controls

20 lines (19 loc) · 1.04 KB

winSHCDecoder

SHC (SmartHealth Card) Decoder written in C#

Ported from shc-extractor

.NET Assemblies used

  • Newtonsoft.Json.13.0.1
  • System.Text.RegularExpressions.4.3.1
  • System.IO.Compression

This is strictly an educational resource to demonstrate the translation of SHC numeric data (from a QR code) into a JWS (JSON) payload.

It contains no error handling, no validation or QR Imagery functionality, this is only a basic example of code that can be improved upon.

A quick and dirty example usage

  1. Scan QR code with a mobile phone or QR desktop application to get the SHC:/ numeric data.
  2. Paste the SHC:/012345456789... numeric data into the txtInput textbox on Form1
  3. Click the button to run the ParseSHC function

More information regarding the SHC Specifications can be found HERE.