I have created AES key in java using seed mechanism and the same thing using BlackBerry.
My input string for Seed is same in both of these case. But I am getting different AES. But the created AES key should be same.
Is there any online help for creating AES key using seed mechanism for BlackBerry
You have already asked this question. The answer I gave there is still the best way. I am using what is documented there to pass data between the Blackberry and a Java server program encrypted with AES. Works fine provided you follow the API documentation on each side.
Hi seed mechanism in java and blackberry are not same.
so u will never get same result in java and blackberry. so better create a key by yourself and send to blackberry users. they will use the key.
Thanks
Sunil Kumar Sahoo
Related
I am currently developing an app for a friend's business (so it's clear that I am not a professional developer and he's not going to get the perfect app). He needs the app to display and be able to interact with data from a MySQL database. I have already tried to find a way to do this but they mostly include a PHP script that just generates a json document which the app can then read. I cannot do that because the data includes customer information that can't just be accessible like that without some form of authentication from the app. The app will only be used by employees at work and on specific devices so storing the data locally is not a problem. Is there maybe a way to create a local cache of the database and then work with that? I would also be open to use other database software that can handle spreadsheet-like data.
Thanks in advance for any response!
Assuming your app going to get JSON data through PHP API. In that case, PHP API should encrypt the JSON data and your app will decrypt it. If you want to protect your data on users device, one of the option to use cipher SQLite.
You can any use symmetric or asymmetric encryption technique to encrypt the API response.
Here is good post to read.
https://www.ssl2buy.com/wiki/symmetric-vs-asymmetric-encryption-what-are-differences
I am evaluating Eclipse Milo 0.2.0 with the Unified Automation server and have successfully read&decoded my own custom structures (by registering appropriate codecs). However client.write keeps returning with status code Bad_WriteNotSupported. I could write the structure node with another client, though.
Does Milo not support writing custom structures yet? If not, when is this feature scheduled?
THX for your answers
The Milo Client SDK does support reading and writing custom structures. If they are registered correctly with the server you don't have to register them with Milo; it reads the datatype dictionaries from the server upon connecting.
I'm creating an app using yodlee api, so far everything good, but right now, I'm having this block related to the PKI feature of yodlee. I'm not able to encrypt the data using "RSA/ECB/PKCS1Padding" as they request, all I found so far are java examples, anyone with a snippet of code, or a reference to make this possible on ruby?
I guess you are referring to this manual to integrate Yodlee API with PKI feature.
Have a look into the ruby's OpenSSL classes. Encryption using RSA is possible with the OpenSSL::PKey::RSA class, see also this intro doc. Basically you have to load the public key returned from the API, and use the public_encrypt method to encrypt the data and hex-encode it in the end. The encryption uses the PKCS1_PADDING by default which is just what you want.
A complete example is available in this SO answer.
I am considering using the following framework to streaming audio in an iOS app, on the GitHub page it mentions it allows encryption/decryption but i cannot find any documentation on it!
Has anyone been able to achieve this and if so, how?
https://github.com/tumtumtum/StreamingKit
The only code that I can see that deals with encryption is the ability to stream using a https URL and the ability to decode a variety of encoded audio types. What additional capabilities were you looking for?
My application need to connect to critical data on our server, and i want to encrypt the link to the server, so, How could I do that?
Thanks a lot in advance,
Use bouncy castle library for encrypt and decrypt. For more information look this article, How to encrypt / decrypt with AES from Bouncy Castle API in J2ME applications.
Also look this discussion on Nokia fourm, Data encryption/decryption in J2ME.