1. Yep 3 Bytes | 24 Bits per char

2. Originally Posted by Ch40zz-C0d3r
I believe he means the length of the "encryption"

Code:
char* cA = "218";
Yea i say 8 bits, per char So its 24 bits, 3bytes

---------- Post added at 10:04 PM ---------- Previous post was at 10:03 PM ----------

Originally Posted by RedAppleCoder
Yep 3 Bytes | 24 Bits per char
ohh i was late

3. its a 32bit integer thats over 10 times more than 3 bits, or is it a string? then its 3 bytes(1 byte for each char or 8bits for each char)... 3 chars times 8 bits = 24bit still along way off from 3bits

//edit
did'nt read page 2 of topic, so yeah 8 bits per char, NOT 24bits per char, unless you compiled it as a 64bit application then it would be 16bits per char or 2 bytes per char, which makes your encryption a 48bit deal.

4. Why not automate the process? Calculate the end result based on the character using a formula. Cast each separate character to their decimal equivalent then do some maths on it and return the encrypted value of that character and concatenate it onto the end of a result string.

5. Its A Great! Thanks

Page 2 of 2 First 12