brandonchinn178 / brandonchinn178/cipher

Handle empty cases better

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

`cat examples/secret2.txt | stack exec decrypt` doesn't return anything, probably because "habit" doesn't exist in the google dictionary. It would be nice if there could be some clever way of backtracking and ignoring certain words... or maybe just get better dictionaries

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `cat examples/secret2.txt | stack exec decrypt` and inspect how the decrypt command handles an empty result and dictionary lookups. Compare the behavior with `examples/secret2.txt` and the Google dictionary; a completed change would define and implement a specific fallback for missing words or an explicitly improved dictionary strategy.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli, cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.