A functional minimalist credit card randomizer to test application.
Cardizer is a credit card randomizer to test application. Maintained by folks at D-EDGE.
Keep in mind that all credit card numbers generated with Cardizer are completely random and do not hold any real life value.
Install the DEdge.Cardizer NuGet package:
PM> Install-Package DEdge.Cardizer
Alternatively you can also use the .NET CLI to add the packages:
dotnet add package DEdge.Cardizer
Next create a .net application and use DEdge.Cardizer:
open System
[<EntryPoint>]
let main _ =
DEdge.Cardizer.NextVisa () |> printfn "Visa: %s"
0
or in C#:
static void Main(string[] args)
{
var card = DEdge.Cardizer.NextVisa();
Console.WriteLine(card);
}
output:
Visa: 4127540509730813
Of course the credit card value is going to be randomized.
There is a F# sample application which can be found in the App
folder and a C# sample application which can be found in the AppCs
folder.
Help and feedback is always welcome and pull requests get accepted.
README.md
as requiredRELEASE_NOTES.md