Skip to content

gurkantuna/TCKN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages