473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

making pretty serial code

S+7PSHL8FjayBYixSRSusdFlDbNrb+Afam8Nby77FfeO8SDyTV XQKg==

this is my serial Number of product ...so it's so difficult to read
how can i chage this code consist of only number?
of course it can be decoded so,,,sha1 md5 is not ,,,
how do i dooo?
Dec 6 '05 #1
2 890
Not sure an encryption method to do that,

But you can generate a Guid that looks a little better than that.
Like this:
b4a50931-f3de-423d-7bde-bfc1707d14a1

Guid's are really easy to generate
string s = Guid.NewGuid().ToString();

This can be saved in your database as a Char(36)
All Guid's generated will always be unique

You can also use some code to strip out the dashes and minipulate the Guid
as needed

HTH
"micky" <so**********@gmail.com> wrote in message
news:%2*****************@TK2MSFTNGP12.phx.gbl...
S+7PSHL8FjayBYixSRSusdFlDbNrb+Afam8Nby77FfeO8SDyTV XQKg==

this is my serial Number of product ...so it's so difficult to read
how can i chage this code consist of only number?
of course it can be decoded so,,,sha1 md5 is not ,,,
how do i dooo?

Dec 6 '05 #2
S+7PSHL8FjayBYixSRSusdFlDbNrb+Afam8Nby77FfeO8SDyTV XQKg==

this encription code have some value ...so i can't use guid...._.._

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:OT****************@TK2MSFTNGP09.phx.gbl...
Not sure an encryption method to do that,

But you can generate a Guid that looks a little better than that.
Like this:
b4a50931-f3de-423d-7bde-bfc1707d14a1

Guid's are really easy to generate
string s = Guid.NewGuid().ToString();

This can be saved in your database as a Char(36)
All Guid's generated will always be unique

You can also use some code to strip out the dashes and minipulate the Guid
as needed

HTH
"micky" <so**********@gmail.com> wrote in message
news:%2*****************@TK2MSFTNGP12.phx.gbl...
S+7PSHL8FjayBYixSRSusdFlDbNrb+Afam8Nby77FfeO8SDyTV XQKg==

this is my serial Number of product ...so it's so difficult to read
how can i chage this code consist of only number?
of course it can be decoded so,,,sha1 md5 is not ,,,
how do i dooo?


Dec 6 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Waqas | last post by:
Please see the detail of tables with fields in SQL server 2000. ·Table Student .Table Good Qualities ( It is a list of Students) (It is a list of Good Qualities)...
1
by: Graheme | last post by:
Hi, couple of questions from a newbie: First, I have a database with basically 3 tables: Customer, which has cust#, name and address; Items which has cust#, type, serial# and description; Items...
0
by: theyas | last post by:
I have a page that I get to by selecting a part number and serial number of an object which then generates a set of files. Some of these files have unique names (containing part/serial data within...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.