kailIII / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Explain Encryption #478

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

first of all my english ist not so good but i will try to explain.

I'm intrested in the function of the encryption. I saw you used md5 for saving 
the passphrase. You used it a few times but how often?

For encryption you used AES CBC?

Did you encode the message befor?

Unencrypted I have this message:
76322f386430633866663037653464313733612f343662373664316233613564612f50494e472f2f
54657374206e6f74696669636174696f6e00
v2/8d0c8ff07e4d173a/46b76d1b3a5da/PING//Test notification�

Encrypted (passphrase: test), not the same notification, this:
2fcafaaa1c55fdb6541728ca1aca4596c18401b3a405ccbac2a5d57167b3f3b0a6eba9b02930edd0
84b78322896e2c5b29d2f09a8cf8972e65325d2768f254df
/ÊúªUý¶T(ÊÊE–Á„³¤̺¥Õqg³ó°¦ë©°)0íЄ·ƒ"‰n
,[)ÒðšŒø—.e2]'hòTß

Original issue reported on code.google.com by alexande...@gmail.com on 2 Mar 2012 at 4:22

GoogleCodeExporter commented 9 years ago
I searched for documentation too. But found nothing. So I inspected the source 
code.

I wrote this wrapper which uses the Encryption.java file from oldsvn branch. It 
works for my (longer) passphrase but get an error with your example. Maybe it 
helps anyway.

Documentation is in the file.

Original comment by nou...@gmail.com on 11 Jan 2013 at 5:03

Attachments: