Home Applications Tokenizator

Tokenizator

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
287
Views
0
IPM installs
4
1
Details
Releases
Reviews  (1)
Issues
Videos  (1)
Articles  (3)
Tokenize sensitive data, store it on Cloud SQL and get it after

What's new in this version

Initial Release

Gitter

Tokenizator

This is a REST Service to tokenize sensitive data, store it on IRIS SQL Cloud, and get real values again when necessary.

What the Tokenizator Does

Tokenizator receives sensitive data to tokenize, store the original value into a secure isolated database (IRIS SQL Cloud) and allows to you get the original value again. You send to the Tokenizator the ticket that you received on the tokenizator response and you receive your original values.

Installation: Docker

  1. Clone/git pull the repo into any local directory
$ git clone https://github.com/yurimarx/tokenizator.git
  1. Open the terminal in this directory and run:
$ docker build --tag=tokenizator:latest .
  1. Run the Tokenizator container:
$ docker run -p8080:8080 tokenizator:latest

How to Run the Sample

  1. Open your Postman.

  2. Create a request to Tokenize using STARS, PERSON, NUMBER, CREDITCARD, HASH, IPADDRESS and REGEX methods to this sensitive data sample:

    • Method: POST
    • URL: http://localhost:8080/token/tokenize
    • Body (JSON):
       [
           {
            	"tokenType":"STARS",
            	"originalValueString":"545049405679",
            	"settings": {
                	"starsPosition":"1",
                	"starsQuantity":"4"
            	}
           },
           {
            	"tokenType":"IPADDRESS",
            	"originalValueString":"192.168.0.1",
            	"settings": {
                	"classType":"CLASS_B",
                	"ipSize":"4"
            	}
           },
           {
        	    "tokenType":"PERSON",
        	    "originalValueString":"Yuri Marx Pereira Gomes",
        	    "settings": {
        	        "localeLanguage":"en",
        	        "localeCountry":"US",
        	        "withAddress":"true",
        	        "withEmail":"true"
           	}
        	},
           {
        	    "tokenType":"NUMBER",
        	    "originalValueNumber":300.0,
        	    "settings": {
        	        "minRange":"100.0",
        	        "maxRange":"400.0"
        	    }
        	},
           {
        	    "tokenType":"CREDITCARD",
        	    "originalValueString":"4892879268763190",
        	    "settings": {
        	        "type":"VISA"
        	    }
        	},
           {
        	    "tokenType":"HASH",
        	    "originalValueString":"System Architect"
        	},
           {
        	    "tokenType":"REGEX",
        	    "originalValueString":"EI-54105-tjfdk",
        	    "settings": {
        	        "regex":"[A-Z]{2}-\\d{5}-[a-z]{5}"
        	    }
        	}
       ]
      
    • See the results. You get a tokenizated value (tokenizedValueString) to store into your local database.
  3. Copy the ticket from the response (store it into your local database with the tokenized value)

  4. Now with the ticket, you can get Original value. Create a request to get the original value using the ticket:

Made with
Version
1.0.018 Apr, 2023
Category
Solutions
Works with
InterSystems IRIS Cloud SQL
First published
15 Apr, 2023
Last checked by moderator
27 Jun, 2023Works