Hi
Anyone has an idea as to how I can encrypt/decrypt data (passwords etc.) in my application on the phone ?
I do not want to store data on disk; but am receiving data from a WS that has encrypted strings inside it. These strings should be decrypted before they are presented in the UI. I have the decryption key and would have liked to use RijndaelManaged classes (System.Security.Cryptography); but this is not avaliable on the phone assemblies.
Any bright ideas...?
Use AesManaged. It's the same old Rijndael you're used to, but named after the standard, not the algorithm.
Thanks a billion!
Related
Hi there,
I am so deeply searching a vocabulary trainer which is more or less fingerfriendly for my Touch HD.
It is unbelievable that there is no program like that available and I just need such a simple one:
I want to add "units", which store the vocabulary in German the foreign language. Then the program randomly chooses one of the words and shows the German translation and I, in my mind, think what it would be, and then I click "right" or "wrong" and go onto the next word. I don't even need a text insertion which must be compared...
Does anybody of you know such a program? Not finding this is for me now a reason to switch to Android, because in the market, they have such programs (vocablo). I would of course pay for it.
Thanks a lot!
I would love to program a thing like that. It would even be pretty easy (as far as i see it). The real problem however is creating the database for it.
I have bought the Japanese Trainer from SPB(?) of the store which isn't really great but it is okay-ish. One can even add a lot of words, although they probably didn't plan it that way, but one can simply add new folders and copy images and sound files into them to expand the library. However, if i knew Japanese well enough to create an extended database i would not need the app ... so the real problem in an app like this is always the database..
If you like you can give me an Excel-file with a hand full of words and i can set up a sample app. Unfortunately i will be away from the pc next week, but in the week after that i could give it a try...
please include at least:
Foreign Word, Native Word, Usage example, word class (I think one could then have a nice multiple choice mode, too)
Well, just checked SPBs app, but I would want a much easier program, no need for pictures, etc.
Frankly spoken, I tried to code it myself, but have the same problem with how to save the words. I thought of using a simple textfile, saving the words like that:
mothertongue#foreign language#box
Example:
Haus#house#1
Sommer#summer#3
Österreich#Austria#2
The box is the number of 5 boxes and the program needs to ask all words in the boxes 1 to 4. If I know the word, the number of the box is incremented as long as it is smaller than 5, if I don't know the word the number is decremented.
What is important to me, is that I can add new textfiles, which I then can edit, in order to add or delete words from that file.
Any other ideas?
I would also use a csv file:
word;translation;whatever
you could then easily manage your vocabulary list in excel and save it directly as csv again...
excelent program
Hello
Do you know Leitner system? Flash cards?
Read these two first!
http://en.wikipedia.org/wiki/Leitner_system
http://en.wikipedia.org/wiki/Flashcard
Then download this Iranian software... { it is in English }
http://soheil86.50webs.com/Leitner Box/Leitner-Box.html
It is working based on Leitner system...
I have memorized 7k English word with it... Including GRE
Word list..... It is a very very great software
Let me know if you need any help!
Have a nice day
Thanks for the link.
But tell me, can I add units and new words in the program?
I need the program to add words when I am at university.
Did you open the link?
Pay attention to the note at the bottom of the page:
3. You can create data base with leitner box in your device, but if you like to create faster with PC, download data base editor.by editor you can convert your excel files to leitner box data base, and also you can exchange your target and source languages.
4. If you want to import data from excel data sheets, and you dont have excel 2007 installed in your system, download and install this file, first.
http://www.microsoft.com/downloads/...36-8C28-4598-9B72-EF94E038C891&displaylang=en
Tell me if you need help... I have a program to create database....
but I think you can find everything in that link...
Please update the keywords in this thread and add :Leitner box , flash card
Thank you in advanced
Hi, has anyone come across a 'vault' type app?
I am after a container type app that is password protected to keep files in - i am not after a database for passwords type app - on the pc i use truecrypt. I know how to hide files from media in android, but want a more secure solution as hiding files leaves them open to any file manager/explorer.
Suggestions?
+1 to this thread.
Truecrypt is a great program.
Maybe some file compression apps have an encrypt feature, hmm...
you can try "APG":
OpenPGP for Android. It's open source.
* encrypt/sign/decrypt emails/files
http://www.appbrain.com/app/org.thialfihar.android.apg
Stiegi said:
you can try "APG":
OpenPGP for Android. It's open source.
* encrypt/sign/decrypt emails/files
http://www.appbrain.com/app/org.thialfihar.android.apg
Click to expand...
Click to collapse
This is only for files as such. But do not want the pain of loading and unloading file by file. The way how truecrypt encrypts the whole SD card would be awesome.
No news yet? TruCrypt port would be really handy, or even the OTFE.
I wonder how its not available yet?
These types of applications diffrentiate the Real smart phones, from the wanna-be (iPhone)
At least a combination of Tasker and File Magic comes close to your needs. Read more about it here.
I stopped using it due to its hardware hunger. Maybe quadcores or hardware/os integration will solve these problems in the future.
But give it a try.
Hi Friends,
I am going to develop a windows mobile application for a big shopping mall using VB.NET.
I will appreciate for your suggestion for the below.
1- Can i filter Message using VB.NET and display in my application. For the example if our company send some promotional message, same time i need to invoke my application and display the message in his own window. and not let it go to the default phone message folder?
2- Is there any Service which can run background and keep filtering for all incoming SMS?
3- I will appreciate if anyone can give me link for the messaging development in VB.NET
Thank You
Hi,
For filtering incoming SMS messages, you need to look into the MessageInterceptor class:
h t t p://msdn.microsoft.com/en-us/library/bb932385.aspx
As for a background "service", you can create an exe project and have it auto-minimise on startup. Add the code to set up the Message Interceptor and display your custom form when a matching message comes in. When the user closes the form, simply minimise back down again. The exe will continue to run unless the user kills it (i.e. in task manager).
When you create your CAB file setup project, open the File System dialog and add a shortcut to the Windows Folder\Startup which targets the Primary Output of your exe. This will ensure the app runs when the user restarts their device.
Hope that helps!
Kind Regards,
PaulM
PaulM,
Thank you for your suggestion, i made a small test application and works like charm )):
After filtering i need to save the message and display it when user need in future. What is the best way to save? XML will be good or other com type should i use to act as database?
Thank You
Hi go4voip,
XML springs to mind, but it depends on security - XML is plain text and can easily be edited by the user on the device.
However, if you wanted more security, you could still use XML but encrypt the data before saving it to a file, then decrypt it before loading it into the XML document. See the System.Security.Cryptography namespace - it's dead easy to use.
Kind Regards,
PaulM
go4voip said:
PaulM,
Thank you for your suggestion, i made a small test application and works like charm )):
After filtering i need to save the message and display it when user need in future. What is the best way to save? XML will be good or other com type should i use to act as database?
Thank You
Click to expand...
Click to collapse
Hi go4voip,
well just to add one more thing here if u use messageinterceptor it may not work for some HD2s as i have faced a lot of issues because of it in one of my app, so i went for a different way. It is basically a native dll.
about saving it google "SQLite" it is mobile db, very small and just a dll...no installation. I used it for my app.
PS: Let me know if you need any help... also you can see two apps in my signature one is SMSFilter that uses the native way of filtering the sms and other one smsrule which uses the messageinterceptor way of filtering. It is verymuch simmilar to what you want.
Thanks,
Mohit
i am looking for a decent app for protecting/encrypting files.
i tried several apps mentioned in this forum. none of them made me happy.
thx for the suggestions
Hi,
I would recommend Droidcrypt, and its going from strength to strength, I believe a trial Version is also available.
http://www.appbrain.com/app/droid-crypt/de.atm.android.security.encryption.full
Regards
I can recom a app with the name APG. it is using the open PGP standards (public key system). It is compatible to GnuPGP and PGP(the original pc version).It is also running on MACs, Windows, and Linux. So if you copy a encrypted file(can be any kind of file) from the phone to the pc, mc etc... you can decrypt it there also. It means you do not need to decrypt files on your phone before you move them to your pc or the other way around, from your pc to your phone. It also has an plug in for K9 mail. So you can on the fly encrypt all your emails, too.
I have tried so many other "crypt tools" most of them are not safe, or do have software flaws and do store your password. The pgp standard is considered to be unbreakable if you use a strong password, as the encryption is not made with your password but with RSA or one of the prof codes like AES, DIFFHellm. etc........
I took a look at the recom of Mr.Buzzboy. Droidcrypt is really a nice tool. AFAICS it will do all encryption well. A nice feature is the "wipe" capability, which is not included in APK.
Also the system integration is much better than APG. The bad news is it stores and caches the passwords and is not hacker proof even it uses AES but the implementation is not professional. However, it is good enough for most users here.
Strong recom!!
hope this info helps
greetings from SiChuan, China
Hey guys,
I am a web developer and decided to create a mobile application for Android and iOS using Phonegap. Creating the graphical interface isn't a problem, but somehow I need to store 2 tokens and a username (the app receives data from a server and somehow the user has to be authenticated. So the tokens and username get posted every time I request some data from the server). My question: I already heard about localstorage - is this a secure way to store the tokens? A https connection is available, so man-in-the-middle isn't possible. Localstorage is sandboxed, right? So there should be no problem to simply store it in this way. Or am I missing something? I already thought about encryption, but to be honest: Javascript and encryption don't make sense as you would need to somewhere store the secret and in this case it would be directly inside my JS file...
Thanks for your help!
Yes, localstorage is sandboxed so each app will have it's own dedicated space to avoid variable clashes. Though it's by no means secure in the sense that it's relatively easy to view it through external means.
As far as encryption in javascript, this depends on how secure you need it to be. Properly obfuscated JS is almost as difficult to reverse-engineer as Java byte code (though still quite doable if someone is determined enough).
To be more secure you would need to get the user to enter a password/passphrase at the beginning of each session which is only ever stored in memory and used to decrypt the data stored in the local storage using a decent open source encryption library. In this case access to the JS won't be a problem.
You need to define what types of threats you are trying to protect from. Traffic between your device and the server is protected from sniffing and tampering by HTTPS, so no problems there. But all that is local on your device could be examined, reverse engineered, and altered by the owner: local storage, encrypted or not, traffic between app and Android OS, data in RAM memory, etc. I would trust regular web component security features (cookies+HTTPS), as it is considered safe for things like online banking. But I don't think there is a way to protect data from the owner.