Possible encoding type to convert a byte array to be sent by SMS -


I have to send a public key made by RSA via SMS to any other phone. I am converting 148 bytes of public key into base64 to be sent by SMS.

As if byte [] can not be sent directly by SMS, what are the other possible ways to successfully convert the string or the equivalent, which can be sent through SMS? Besides compacting, is Base 64 the only possible way?

You can SMS one in 8 bit mode - most GSM modem and gateway have this option , And some phones expose this capability in their APIs too.

In this way you can send the whole key, and still 12 bytes for additional data. You'll need some software on the phone that will be able to read and use the message, though.

Another option: send it to two different related SMSs; The most (?) Phone is to add a different message and to add a logical message (to understand how it works, you will dig into SMS protocol specifications).


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -