Click here to Skip to main content
16,012,025 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# Pin
PIEBALDconsult15-Sep-10 3:06
mvePIEBALDconsult15-Sep-10 3:06 
Questionencoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 10:00
stephen.darling14-Sep-10 10:00 
AnswerRe: encoding and decoding in BASE 10 Pin
Ennis Ray Lynch, Jr.14-Sep-10 10:11
Ennis Ray Lynch, Jr.14-Sep-10 10:11 
AnswerRe: encoding and decoding in BASE 10 [modified] Pin
Luc Pattyn14-Sep-10 10:18
sitebuilderLuc Pattyn14-Sep-10 10:18 
GeneralRe: encoding and decoding in BASE 10 Pin
harold aptroot14-Sep-10 10:23
harold aptroot14-Sep-10 10:23 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 10:24
sitebuilderLuc Pattyn14-Sep-10 10:24 
AnswerRe: encoding and decoding in BASE 10 Pin
T M Gray14-Sep-10 10:21
T M Gray14-Sep-10 10:21 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 10:55
stephen.darling14-Sep-10 10:55 
I proberbly havent explained very clearly.

Yes, the following is in base 10

1234 5678 1234 5678

But if I was to simply encrypt the above I would have something like

£$%^%$"$£% (example)

I need to accept a string of digits, then get its bytes.

Then, encrypt the bytes

Then, re-display the encytped bytes as a base 10 representation

So, for example.


I have a byte array

Byte[1] = ID
Byte[2] = version
etc

Then I encode it into a string of base10

0000 0000 000 etc

Then if we enter the above number into a sep function, we can decode it back to

byte[1] etc etc

I did find this before....

Also, the example above, saying to use int64 is no good if my serial number is, for example, 25 digits long


Thank you
Steve
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 11:22
protectorAspDotNetDev14-Sep-10 11:22 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:11
stephen.darling14-Sep-10 12:11 
GeneralRe: encoding and decoding in BASE 10 Pin
T M Gray14-Sep-10 12:17
T M Gray14-Sep-10 12:17 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 12:28
sitebuilderLuc Pattyn14-Sep-10 12:28 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:50
stephen.darling14-Sep-10 12:50 
GeneralRe: encoding and decoding in BASE 10 [modified] Pin
Luc Pattyn14-Sep-10 13:27
sitebuilderLuc Pattyn14-Sep-10 13:27 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 13:36
stephen.darling14-Sep-10 13:36 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 13:43
sitebuilderLuc Pattyn14-Sep-10 13:43 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:05
stephen.darling14-Sep-10 14:05 
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 14:34
protectorAspDotNetDev14-Sep-10 14:34 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:57
stephen.darling14-Sep-10 14:57 
GeneralRe: encoding and decoding in BASE 10 Pin
federico.strati15-Sep-10 3:11
federico.strati15-Sep-10 3:11 
GeneralRe: encoding and decoding in BASE 10 Pin
harold aptroot15-Sep-10 4:46
harold aptroot15-Sep-10 4:46 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn15-Sep-10 5:04
sitebuilderLuc Pattyn15-Sep-10 5:04 
Questiondynamic jpg photo Pin
benams14-Sep-10 9:45
benams14-Sep-10 9:45 
AnswerRe: dynamic jpg photo Pin
Pete O'Hanlon14-Sep-10 10:04
mvePete O'Hanlon14-Sep-10 10:04 
AnswerRe: dynamic jpg photo Pin
Luc Pattyn14-Sep-10 10:22
sitebuilderLuc Pattyn14-Sep-10 10:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.