Post3 Bit Crypter

Posts 1620 of 20 · Page 2 of 2
Quote Originally Posted by Ch40zz-C0d3r View Post
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 ----------

Quote Originally Posted by RedAppleCoder View Post
Yep 3 Bytes | 24 Bits per char
ohh i was late
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.
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
Posts 1620 of 20 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?