Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCKN Genarate and Validate

This is just a simple tool written to generate mock data and validate for the Turkish Republic Identity Number for testing purposes.

Installation

This package can be installed from NuGet.

Install using Package Manager
Install-Package tckn
Install using the dotnet tckn
dotnet add package tckn
Install with NuGet.exe
nuget install tckn

Usage

using TcknTools;

// Generate Number
var tckn = Tckn.Generate();

//Hash the number and save it to the db    

var isValidated = Tckn.Validate(tckn);
if(isValidated) {
    //continue the operations
}

//You can get the raw number if needed
var generatedNumber = Tckn.GeneratedNumber;

About

This is just a simple tool written to generate mock data and validate for the Turkish Republic Identity Number for testing purposes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages