Hi,
I want to encrypt the messages.Please guide me if there is any Function in Symbian C++
so that the messages be seen in Encrypted format by the receiver.
No such function. You have to create your own app to first encrypt the messages, and then send them. The receiver must have a corresponding application to decrypt the message.
What do you mean? If you encrypt anything, you can do it using an encryption algorighm, and decrypt with the corresponding decryption algorith, Usually this involved also an encryption key. Is that what you mean with a "password"?
You can do encryption/decryption without asking the user for a key (or a password), but the encryption/decryption keys (and associated algorithm) must still be known/stored by both parties (both the user/application/device that does the encryption, and the user/application/device that receives the encrypted content and decrypts it for whatever purpose).
Your biggest problem is in secure distribution and storage of encryption/decryption keys. If the keys are compromised, then so is the communications.
Yes you can have encryption without a password. Public key encryption works this way. I suggest you read about it, because this will mean you need a certificate from Verisign, Thwate or some other certificate authority. And the concept is quite complex.
Basically there is a public key which anyone can obtain and a private key. Data encrypted with the private key can only be decrypted with the public key and vice versa. So anything encrypted with the private key can be read by anyone, but data encrypted with the public key can only be read by the owner of the privte key. This only provides "secure" encrypted comunication in one way. For secure comunication you will need authentication, usually provided by a password, but could also be provided by a certificate. So for passwordless encrypted secure communication you will need two certificates.
Here are some classes to look at in Symbian C++ CSecureSocket: Basic TLS/SSL3 communications socket. CX509Certificate: The certificate CX509CertChain: Certificate Chain, to make sure current cerificate comes from a legal certificate authority.
You won't need the last two to encrypt decrypt messages, but if you would like to be sure that you're data can't be comprimised you will need them. I have not used them yet.
Study TLS a bit.
If you are a newbie to Symbian and Security you have a lot to learn, but hang in there.
I'm not sure if there is a way to encrypt without using sockets, when using native Symbian API's. Cryptographic cyphers is for some reason private on Symbian OS.
Forum posts: 720
No such function. You have to create your own app to first encrypt the messages, and then send them. The receiver must have a corresponding application to decrypt the message.
Such commercial apps are already on the market.
E.g., this one: http://my-symbian.com/s60/software/applications.php?fldAuto=503&faq=2
Forum posts: 24
i want to make the encryption without password protected.Is it possible......... If u have any source please give it.
Thanks a lot....
Forum posts: 720
What do you mean? If you encrypt anything, you can do it using an encryption algorighm, and decrypt with the corresponding decryption algorith, Usually this involved also an encryption key. Is that what you mean with a "password"?
You can do encryption/decryption without asking the user for a key (or a password), but the encryption/decryption keys (and associated algorithm) must still be known/stored by both parties (both the user/application/device that does the encryption, and the user/application/device that receives the encrypted content and decrypts it for whatever purpose).
Your biggest problem is in secure distribution and storage of encryption/decryption keys. If the keys are compromised, then so is the communications.
Forum posts: 68
Yes you can have encryption without a password. Public key encryption works this way. I suggest you read about it, because this will mean you need a certificate from Verisign, Thwate or some other certificate authority. And the concept is quite complex.
Basically there is a public key which anyone can obtain and a private key. Data encrypted with the private key can only be decrypted with the public key and vice versa. So anything encrypted with the private key can be read by anyone, but data encrypted with the public key can only be read by the owner of the privte key. This only provides "secure" encrypted comunication in one way. For secure comunication you will need authentication, usually provided by a password, but could also be provided by a certificate. So for passwordless encrypted secure communication you will need two certificates.
Here are some classes to look at in Symbian C++
CSecureSocket: Basic TLS/SSL3 communications socket.
CX509Certificate: The certificate
CX509CertChain: Certificate Chain, to make sure current cerificate comes from a legal certificate authority.
You won't need the last two to encrypt decrypt messages, but if you would like to be sure that you're data can't be comprimised you will need them. I have not used them yet.
Study TLS a bit.
If you are a newbie to Symbian and Security you have a lot to learn, but hang in there.
I'm not sure if there is a way to encrypt without using sockets, when using native Symbian API's. Cryptographic cyphers is for some reason private on Symbian OS.
Forum posts: 24
Thanks for the reply.I mean to say the key i.e. Password. U r right. I did not need a encryption key in the program.
Regards.