Yep 3 Bytes | 24 Bits per char
Haters Gon' Hate
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
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.
Last edited by Departure; 09-23-2012 at 08:27 AM.
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.
Its A Great! Thanks