Git Product home page Git Product logo

cardizer's Introduction


cardizer logo

actions build version download license


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.

Features

  • Easy to use
  • Easy to extend
  • Thread safe
  • Check with the Luhn's algorithm
  • Support for Visa credit card
  • Support for Jcb credit card
  • Support for Amex credit card
  • Support for Discover credit card
  • Support for MasterCard credit card

Getting Started

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.

Sample applications

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.

Contributing

Help and feedback is always welcome and pull requests get accepted.

  • First open an issue to discuss your changes
  • After your change has been formally approved please submit your PR against the main branch
  • Please follow the code convention by examining existing code
  • Add/modify the README.md as required
  • Add/modify unit tests as required
  • Please document your changes in the upcoming release notes in RELEASE_NOTES.md
  • PRs can only be approved and merged when all checks succeed (builds on Windows, MacOs and Linux)

License

MIT

cardizer's People

Contributors

d-edge-bot avatar aloisdg avatar umair-fayaz avatar fighou avatar minajevs avatar chsotiriou avatar pierrickblons avatar ananthavijay avatar prjailani avatar selk21 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.