Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Fixed crash on missing input
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert de Graaf committed Jan 13, 2017
1 parent 614206a commit 925416d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RC4 File decrypt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class Program
{
static void Main(string[] args)
{
if(args.Length != 3)
{
Console.WriteLine("Not all arguments are met use: key file-in file-out");
Environment.Exit(0);
}

// To decrypt some files in RC4

Expand Down

0 comments on commit 925416d

Please sign in to comment.