PDA

View Full Version : compressed



RAYMON
- 15th February 2009, 13:57
Salut

pouvez vous m’aider à décompresser et m’expliquer la méthode.

Exemple :
1 2 3 4 5 6 7 8 9 10
[0001 0010] [0011 0100] [0101 0110] [0111 1000] [1001 1010] 5 bytes 123456789A

00010010= 12
00110100= 34
01010110= 56
01111000= 78
10011010= 9A

and for these data
thank you

0011 1001 0100 0011 0010 0000 0011 1001 0011 1001 0010 0000

mister_e
- 15th February 2009, 19:36
Raymond... c'est de la simple représentation binaire, décimale, hexadecimale, rien à convertir si tu désire l'afficher ou l'envoyer via communication série... cherche HEX.



For MyVar = 0 to 255
HSEROUT [DEC MyVar, " = ", BIN8 MyVar, " = ", HEX MyVar,13,10]
NEXT

HSERIN should work to grab the data. Windows Calc in Scientific mode can help you


0011 1001 0100 0011 0010 0000 0011 1001 0011 1001 0010 0000
3 9 4 3 2 0 3 9 3 9 2 0

RAYMON
- 16th February 2009, 11:31
Bonjour

Merci de votre réponse et en plus en français, c’est super sympa, et j’ai toujours le meme Problème

Ce texte crypter sort d’une carte électronique qui se raccorde au Pc et le programme de la carte crypte les données contenu dans la mémoire et quand vous faite une lecture la vous recevrez des données coder.

Le texte en claire fera souvent 40 octets, plus la date et heure donc beaucoup d’octets a sauvegardées et
ainsi de suite.

Ou les données sont compressées pour gagner un peu de place ou elles sont cryptées ?

Exemple : texte en claire 9999888877776666=55554444333322221111

Et la coder ou compresser ? et si oui comment faire

F55100 805295 6501C9 2EFE73 356BD2 9C8CA2 E0E5FD AC9082 A2E6E3 F5C4EC
FADA9C 9985C8 EAE4CC 8E8F97 D4F6E6 C2868D 97DAFE 1C2462 65A5D8 0E0424
606779 341202 2C6661 A3EECA DA246A A1A3EC C61C20 BCA5B9 F6100C EEA4A3
B9341E CCE0A0 6775FE DCC0E2 666FB7 FCDEC0 2668AF BBFEDC 0228AC 6F7306
D80C2A 6C6B73 3824CE 226E69 385F

Merci de votre aide

mister_e
- 16th February 2009, 16:42
Ok Raymond je comprends, mais malheureusement je ne pourrai pas aller plus loin, je n'ai pas cette carte, je n'ai pas le logiciel qui va avec, et ça me semble encore un peu flou et curieux au niveau utilisation finale, ça ne sent pas très bon cette histoire :rolleyes: mais bon, je peut être un peu parano aussi :D

Pour le bénéfice des autres utilisateurs, la langue publique devrais être l'anglais ici. Il y a quelques forums en français que je connais, peut-être tu pourras y trouver de l'aide
http://www.abcelectronique.com/forum/
http://forums.futura-sciences.com/

Et maintenant, je reviens à l'anglais pour faire un brève explication de notre conversation aux autres membres du forum.

mister_e
- 16th February 2009, 16:57
Raymon's post translated... as best as I and Google translation can ;)
<hr>
Hello

Thank you for your answer and more in French, it's great fun and I always have the same problem

This data come from an electronic card that connects to the PC and the card software encrypts the data in card's memory and when you do a reading of it you have that data.

The plain text will be often 40 bytes, plus the date and time, so a lot of bytes and saved and so on.

Or data are compressed to save a little room, or they are encrypted?

Plaintext example
9999888877776666 = 55554444333322221111

Will produce

F55100 805295 6501C9 2EFE73 356BD2 9C8CA2 E0E5FD AC9082 A2E6E3 F5C4EC
FADA9C 9985C8 EAE4CC 8E8F97 D4F6E6 C2868D 97DAFE 1C2462 65A5D8 0E0424
606779 341202 2C6661 A3EECA DA246A A1A3EC C61C20 BCA5B9 F6100C EEA4A3
B9341E CCE0A0 6775FE DCC0E2 666FB7 FCDEC0 2668AF BBFEDC 0228AC 6F7306
D80C2A 6C6B73 3824CE 226E69 385F

Thank you for your help

<hr>
My previous one

Raymond Ok I understand, but unfortunately I can't go further, I don't have this card, I don't have the software that goes with it, and it still seems a little vague and curious end-user application.

For the benefit of other users, the public language should be English here. Bellow is some French forum I know, maybe you'll be able to find help over there.
http://www.abcelectronique.com/forum/
http://forums.futura-sciences.com/

And now I come back to English for a brief explanation of our conversation with other forum members.

Pic_User
- 16th February 2009, 21:43
Thank you Steve!

RAYMON
- 17th February 2009, 10:57
Hi

I think this is a simple xor encryption, as the microcontroller manages different
Element, so I suppose it is a simple and bytes or jamming
data, but must have experience in programming.


F5 51 00 80 52 95 65 01 C9 2E FE 73 35 6B D2 9C õQ.?R?e.É.þs5kÒ?
8C A2 E0 E5 FD AC 90 82 A2 E6 E3 F5 C4 EC FA DA ?¢àåý¬?¢æãõÄìúÚ
9C 99 85 C8 EA E4 CC 8E 8F 97 D4 F6 E6 C2 86 8D ???ÈêäÌ??ÔöæÂ?
97 DA FE 1C 24 62 65 A5 D8 0E 04 24 60 67 79 34 ?Úþ.$be¥Ø..$`gy4
12 02 2C 66 61 A3 EE CA DA 24 6A A1 A3 EC C6 1C ..,fa£îÊÚ$j¡£ìÆ.
20 BC A5 B9 F6 10 0C EE A4 A3 B9 34 1E CC E0 A0 ¼¥¹ö..¹4.Ìà
67 75 FE DC C0 E2 66 6F B7 FC DE C0 26 68 AF BB guþÜÀâfo·üÞÀ&h¯»
FE DC 02 28 AC 6F 73 06 D8 0C 2A 6C 6B 73 38 24 þÜ.(¬os.Ø.*lks8$
CE 22 6E 69 38 5F Î"ni8_

-----------------


A5 D8 0E 04 24 60 67 79 34 ?Úþ.$be¥Ø..$`gy4
12 02 2C 66 61 A3 EE CA DA 24 6A A1 A3 EC C6 1C ..,fa£îÊÚ$j¡£ìÆ.
20 BC




A5D80E04246067793412022C6661A3EECADA246AA1A3ECC61C


0 E 04246067793412022 C 6661 A 3 E E C A D A 246 A A 1 A 3 E C C 61 C 20 B C
0 14 04246067793412022 12 6661 10 3 14 14 12 10 13 10 246 10 10 1 10 3 14 12 12 61 12 11 12


0000 1110 =0E = 0 14
0000 0100 =04 = 0 4
0010 0100 =36 = 2 4
0110 0000 =96 = 6 0
0110 0111 =103 = 6 7
0111 1001 =121 = 7 9
0011 0100 =52 = 3 4
0001 0010 =18 = 1 2
0000 0010 =2 = 0 2
0010 1100 =44 = 2 12
0110 0110 = = 6 6
0110 0001 =97 = 6 1
1010 0011 =163 = 10 3
1110 1110 =238 = 14 14
1100 1010 =202 = 12 10
1101 1010 =218 = 13 10
0010 0100 =36 = 2 4
0110 1010 =106 = 6 10
1010 0001 =161 = 10 1
1010 0011 =163 = 10 3
1110 1100 =236 = 14 12
1100 0110 =198 = 12 6
0001 1100 =28 = 1 12