0

Is there a simple algorithm where by I can convert a numeric value to alphanumeric and reliably convert it back to the same number?

For example, 12345 converts to 00A3DF and back to 12345.

Hadi
  • 36,233
  • 13
  • 65
  • 124
jbagavathi
  • 297
  • 2
  • 6
  • 16

1 Answers1

2

I assume when you say alphanumeric you mean hexadecimal. This has already been answered:

How to convert numbers between hexadecimal and decimal in C#? C# convert integer to hex and back again

Community
  • 1
  • 1
Ron Warholic
  • 9,994
  • 31
  • 47