Showing posts with label secure token. Show all posts
Showing posts with label secure token. Show all posts
The Future of Things: Tokenization and Blockchain
I was an early adopter of the internet. It was put on my desk when I worked in a communications research lab. At the time, there were usegroups (electronic bulletin boards) and scientific papers. It was neat but it didn't seem like much. There was no Google. There was no search. The way to discover sites was with a spider written by a guy name Bob who had a Cool Sites that he spidered (web crawled). A little while later, the very coolest and neatest thing on the internet, was a picture of a coffe pot in an English University that refreshed every 15 minutes. I thought that it was neat, but at that point in time, I could not even envision how dramatically the Internet would change life.
Blockchain is at the same point as the nascent internet. People will say "Remember the good old days of Bitcoin?" like they reminisce about Blockbuster Videos and America Online CDs. The way that #Blockchain will revolutionize life, is through its ability to organize, monetize and revolutionize human activity and assets (actual and virtual) through TOKENIZATION. Life will be almost completely tokenized with an astonishing interoperability of all things digital. I intend to contribute to that tokenization effort. The best way to predict the future is to invent it.
Code Snippet for Creating Secure Token in Java
Tokens can be used for many things. Among them are Single Sign On, or saving an identification number without exposing it to the web. Here is a quick code snippet to create a 16 character token
First you need an import:
import java.security.SecureRandom;
here is the code snippet:
String token1 = null;
SecureRandom secureRandom = new SecureRandom();
String secString = new BigInteger(130, secureRandom).toString(32);
token1 = secString.substring(0, 15); //creates a 16 character token
Alter the substring end value to change the size of the token.
Hope this helps someone.
Subscribe to:
Posts (Atom)