SMS encrypted vs data coding scheme

Hi all,
I have a problem in hands i can't find a "good" solution. I want to send an SMS with encrypted content and i have to send it in 7bit format. If i send it in 7bit format the phone crashes and i think it is due to the fact that encryption uses chars of the extended ascii table (all the 256 chars) am i right? So what is the solution to send an encrypted SMS in 7bit? 8bit or 16bit would work, but it is mandatory to send it using 7bit format...
One solution could be convert every char to the hexadecimal representation and send the encrypted chars in plain text but in hexadecimal representation but maybe it is not a good solution in therms of performance... Any tip?
Thanks in advance.
Regards

Hi Shane,
Well i also thought that should work and it was what i tried but with no success...
Look at this example i adapted from an normal Java method to use in the card:
     public  short getHexString(byte[] raw) 
          short index = 0;
          for (short i=0;i<raw.length;i++) {
            short v = (short) (raw[i] & 0xFF);
            tempBuffer[index++] = HEX_CHAR_TABLE[v >> 4];
            tempBuffer[index++] = HEX_CHAR_TABLE[v & 0xF];
            return (short)0;
       }The tempBuffer and HEX_CHAR_TABLE are both byte [].
The problem is in the tempBuffer[index++] = HEX_CHAR_TABLE[v >> 4]; line... If i remove this line i can execute the code in the card (but obviously not with the desired result), if i have that line the IDE doesn't even let me execute the application saying there are still errors to solve... I tried the cast inside the [ ], tried cast outside setting the value in another variable, etc. I don't know the reason why the operation isn't supported and if i can't use it in this simple hex converter, surely i can't use it in a Base64 encoder/decoder.. :/
You know why that operation isn't accepted?

Similar Messages

  • Question about cmi.suspend_data coding scheme

    I'm trying to determine whether the actual text entered in short answer quiz questions in Presenter 7 online presentations can be extracted.  We want to review the answers themselves, not just whether the student got the answer right.  In discussing this with my LMS vendor, they said that they would need to understand how the SCORM data, specifically the cmi.suspend_data, is structured to determine whether we could develop a means to report actual answers.  If I can put my hands on it, I need the coding scheme, including how data is delimited, and how the data is ordered.  Is this kind of information documented somewhere such that I could obtain it?

    I’m doing something similar for a home-built LMS. That is, we want to capture and store what people say in free-form quiz fields. While the answer is embedded in the cmi.suspend_data info, it appears a better way to get it is from the cmi.interactions.*.learner_response info (assuming the module was published with the "report interactions" option, and your LMS asks for the data and does something with it).
    For example, when the Presenter Flash module starts up, it calls our LMS with this method:
    GetValue("cmi.interactions._children")
    ...and our LMS responds with the string:
    id,type,learner_response,result
    Later, on the slide that has the free-form quiz field, the Presenter module calls our LMS with this method:
    SetValue("cmi.interactions.0.learner_response","this is the answer")
    ...where 0 represents it was the first quiz, and "this is the answer" was what I typed in the free-form field. Now, our LMS just has to do something with that value (write it to the database, etc.).
    The one problem I’ve run into is when the user types double quotes or newlines in the free-form answer. When Presenter internally constructs the JavaScript to call SetValue of our LMS, it doesn’t seem to properly escape the quotes or newlines, and you end up with a JavaScript parse error in the browser (evident from Firebug) and the SetValue method is never called (so you lose the response). Maybe this is just a problem related to our custom-built LMS, but I suspect more that it is a bug in how the Presenter Flash module communicates between its Flash system and the JavaScript environment of the enclosing HTML page. (This is happening in the 7.0.5 version.)

  • Lync FIPS 140-2 encryption for Data in Transit Certificate?

    I work for an organization that has deployed Lync 2013 throughout the enterprise. 
    We have no need for “Data at Rest” encryption on the servers or clients at this time, but we do have a customer requirement for FIPS 140-2 encryption for “Data in Transit”?  Does Lync provide data in transit encryption utilizing one of the National
    Institute of Standards and Technology (NIST) approved modules by default? If so, have all the traffic types been “Certified” compliant (i.e. Server-to-Server, Client-to-Server, IM, Audio, Video, Desktop Sharing, web conferencing, etc…)? 
    I’ve read all the technet articles and looked at the following links, but it is not clear to me. 
    I cannot find the certification number and certificate for the FIPS 140-2 validation for Lync's encryption module on either the Microsoft or NIST websites.
    http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-all.htm
    https://technet.microsoft.com/en-us/library/security/cc750357.aspx

    Lync Server 2013 and Microsoft Exchange Server 2010 Service Pack 1 (SP1) operate with support for Federal Information Processing Standard (FIPS) 140-2 algorithms if the Windows Server 2008 R2 operating systems
    are configured to use the FIPS 140-2 algorithms for system cryptography. To implement
    FIPS support, you must configure each server running Lync Server 2013 to support it. For details about
    FIPS-compliant algorithms and how to implement
    FIPS support, see Microsoft Knowledge Base article 811833, "System cryptography: Use
    FIPS compliant algorithms for encryption, hashing, and signing security setting in Windows XP and in later versions of Windows at
    <linktext xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">http://go.microsoft.com/fwlink/p/?linkid=3052&kbid=811833</linktext>. For details about
    FIPS 140-2 support and limitations in Exchange 2010, see "Exchange 2010 SP1 and Support for
    FIPS Compliant Algorithms" at
    <linktext xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">http://go.microsoft.com/fwlink/p/?linkId=205335</linktext>.
    For More information on FIPS in Lync server 2013 
    http://technet.microsoft.com/en-us/library/jj205114.aspx 
    http://technet.microsoft.com/en-us/library/jj205084.aspx 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • Adding "data owner" schema to apex workspace provided unexpected results

    Recently I added a "data owner" schema to an existing apex workspace thinking it was a god idea.
    As stated...
    the schema that I added was a "data owner" schema and I was only suppose to have select capability for apex reporting.
    After the schema was added to the workspace I felt I had owner privs on all of the schema objects and
    could create objects and insert and update table records.
    Needless to say... this is something that I do not want to do with tihs particular "data owner" schema BUT...
    this is something that I feel is really good.
    i.e. The Object Browser and Model are some excellent examples of the apex tool. :)I would just like to remove/block the insert/update capabilty against this particular schema from my workspace.
    Any ideas on how to remove the update capability from my workspace or is it even possible?thanks in advance... :)
    v/r
    RJones

    Ah, thanks I didn't see that section before.
    I put the procedure details in the box; declaring the variables and the code to determine the context values
    Logged in as a user and again as the schema owner (both with admin privs) I get this error back:
    ORA-01031: insufficient privileges
    Error ERR-1181 Unable to set VPD security context on page show.
    This is my procedure:
    Declare
    V_COUNT NUMBER;
    V_PRJ_USERNAME VARCHAR2(30);
    V_USERID NUMBER;
    V_PRJROLE VARCHAR2(30);
    BEGIN
    -- sets user name
    V_PRJ_USERNAME := v('APP_USER');
    V_PRJROLE := 'NO_ACCESS';
    BEGIN
    --gets user id from staff table
    SELECT staf_id
    INTO V_USERID
    FROM PRJ_STAFF
    WHERE staff_oracle_name = V_PRJ_USERNAME;
    Select count(*)
    into v_count
    FROM DBA_ROLE_PRIVS
    WHERE GRANTEE = V_PRJ_USERNAME
    AND GRANTED_ROLE='PRJJ_GUEST_RL';
    if v_count > 0 then
    V_PRJROLE := 'GUEST';
    end if;
    Select count(*)
    into v_count
    FROM DBA_ROLE_PRIVS
    WHERE GRANTEE = V_PRJ_USERNAME
    AND GRANTED_ROLE='PRJJ_DEVELOPER_RL' ;
    if v_count > 0 then
    V_PRJROLE := 'DEVELOPER';
    end if;
    Select count(*)
    into v_count
    FROM DBA_ROLE_PRIVS
    WHERE GRANTEE = V_PRJ_USERNAME
    AND GRANTED_ROLE='PRJJ_MANAGER_RL' ;
    if v_count > 0 then
    V_PRJROLE := 'MANAGER';
    end if;
    Select count(*)
    into v_count
    FROM DBA_ROLE_PRIVS
    WHERE GRANTEE = V_PRJ_USERNAME
    AND GRANTED_ROLE='PRJJ_ADMIN_RL' ;
    if v_count > 0 then
    V_PRJROLE := 'ADMIN';
    end if;
    DBMS_SESSION.SET_CONTEXT('PRJ_SEC_PKG','USER_NAME','V_PRJ_USERNAME');
    DBMS_SESSION.SET_CONTEXT('PRJ_SEC_PKG','USER_ID','V_USERID');
    DBMS_SESSION.SET_CONTEXT('PRJ_SEC_PKG','USER_ROLE','V_PRJROLE');
    END;
    END;
    Is there something wrong with my procedure?
    Edited by: JodyMorin on Mar 27, 2009 6:23 AM

  • How to encrypt the data in a form?

    Hi, everyone!
    I want to encrypted the data in a html form
    sent to a JSP/Servlet (using POST method).
    For example, password.
    How to do it? Are there some sample codes or
    guides?
    Cheers,
    George

    About the only way you could accomplish this completely on the client side is with JavaScript. But, that wouldn't be very secure as your encryption code would be publicly visible. If you want the data encrypted before it's sent to the server, you need to use SSL and the HTTPS protocol.

  • How can I encrypt my data links between switch uplink ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me

    How can I encrypt my data uplinks between switch trunk ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me as I want to encrypt my switch-to-switch link with Cisco TrustSec.

    Hi 
    Login to switch & go to interface..
    There you can give tags.. (ISL & DONT1Q)
    Command switch-port mode trunk
    Switch-port trunk encapsulation ssl or dot1Q

  • How could I Encrypt the data of SDO_GEOMETRY type using DBMS_CRYPTO package

    Hi:
    I want to Encrypt the data of SDO_GEOMETRY object type using DBMS_CRYPTO package.
    What could I do? hope anyone can help me,give me a suggestions!
    thanks in advance.
    lgs

    well, the spatial api would not be able to handle this data anymore, so what you are trying to do is converting an SDO_GEOMETRY to some cryptable user type (see http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm#sthref1506) and encrypting this.
    Before using the SDO_GEOMETRY type will have to decrypt and reconvert it again and pass it to the spatial query or function.

  • Data source schema validation error

    Hi,
    I'm trying to validate data source schema in TS 3.1 and getting this error:
    " Run-time error '458':
    Variable uses an Automation type not supported in Visual Basic ".
    Same operation works fine in TS v3.0 (Evaluation!!!).
    Thanks,
    Edi

    Wojtek and Edi -
    I have looked into this problem and some preexisting VB code now appears to error when trying to access some of the data type information from the providers schema. I have been able to work around this error and if it occurs again, it will error more gracefully. I am attaching a ZIP file for you to try. Thank you for your patience.
    Scott Richardson
    National Instruments
    Attachments:
    TsDBOptions 31.zip ‏192 KB

  • How do I encrypt a data file so that only I can retrieve the info?

    How do I encrypt a data file so that it cannot be read without the proper authority?  
    I have an application where the customer should not have access to the data I need to record for troubleshooting purposes.  (there are industrial secrets I wish to protect)  My plan is to record a datalog (currently I am producing a tab-delimited spreadsheet format) whenever the device is running and hide the files where they will probably not be found.  But some sort of encryption or at least password protection would be better.  
    I've never tried to do this before, but thought it would be fairly easy.  Maybe I'm just not looking in the right places.  
    Thanks
    Solved!
    Go to Solution.

    Well, you could look into something like DES, Triple DES, AES, etc.  There are libries floating around for these written in LabVIEW.  I'm not sure about the cost though.
    If you want a really simple way to protect your data, just invert all or some of the bits in each byte of your file.  It is super simple and turns a nice ASCII text file into noise when read from a text file.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Open Source SMS encryption

    Hi there,
    I have been looking for security related stuff when I found this:
    http://www.cryptosms.org
    The special thing about this is it is open source, thus it is more trustworthy than closed source java programs. Maybe useful for business folks who deal with important information and need SMS encryption.
    Regards
    Malte

    Hi there,
    I have been looking for security related stuff when I found this:
    http://www.cryptosms.org
    The special thing about this is it is open source, thus it is more trustworthy than closed source java programs. Maybe useful for business folks who deal with important information and need SMS encryption.
    Regards
    Malte

  • Data Encryption on Data T1??????????/

    Hi,
    I am trying to find out the possibility of putting encryption on Data T1 line.
    Its very urgent...
    Need assitance...
    Thanks,

    Hi,
    You need to be more specific. T1 is dedicate mediate, if it's point to point traffic across the T1 line, normally the data doesn't need to be encrypted, unless you are worry about wire tapping.
    If the data needs to be encrypted, it depends what type of traffic it is, if it's IP traffic, IPSec or IPSec+GRE can be used. If it's layer2 traffic, you can try L2TP.
    Thanks
    Jing

  • Best way to encrypt all data in SP 2013

    Hello everyone,
    I have a SharePoint Lab Installation on which I would like to encrypt all data on it. Now there are several ways to do it: Bitlocker, TDE in SQL Server, EFS, others
    Now which is the best way for SharePoint? I just want to ensure that if any HDD gets stolen, the data is safe.
    Thanks!
    Best,
    Christian

    In that case, use BitLocker.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Get data source schema - List tables has failed

    Hi, I am trying to expose tables from a SQL Azure Database to OData feed on power bi's data source setting and I got the following alert:
    Get data source schema - List tables and views has failed.  Please check Windows Event Log for Gateway Instance (InstanceName1) errors.
    Thanks in advance.

    Hi,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.
    In the meantime please have a check on the below link and check if it helps.
    http://whitepages.unlimitedviz.com/2013/09/power-bi-working-with-the-data-management-gateway/
    https://support.office.com/en-us/article/Create-a-Data-Source-and-Enable-OData-Feed-in-Power-BI-Admin-Center-9dbd3091-8961-4564-adf6-2a3aeff0b2b4?ui=en-US&rs=en-US&ad=US
    Regards,
    Mekh.

  • Export / Import ---  Encrypt the data

    Hi,
    Is it posible to encrypt some data in a table during export/import in oracle 9i database (not in 10g)?
    Best regards
    RajaBaskar

    The main reason why people assume there are undocumented features, is because they can't be bothered to adhere to the Forums Etiquette and read the documentation prior to asking their doc question.I do not see a reason to be so rude on this. If every person reads all the documentation and uses all the features of Support services or is aware of those then we do not need these forums at all.
    I mean no offence and I agree with you in lot of other cases when people just come up with unnecessary posts but this one I see as a legitimate issue which lot of dbas find in their normal work life when they have to send an export dump to a partner outside their network and the export contains sensitive data.
    Thanks,
    Ankit.

  • Data distribution scheme and database fragmentation

    Hi all,
    I'm working on a scenario (University) involving the fragmentation of a central database. A company has regional offices i.e. (England, Wales, Scotland) and each regional office has differing combinations of business areas. They currently have one central database in their head office and my task is to "design a data distribution scheme". By scheme does this mean something like horizontal / vertical fragmentation? Also can somebody point me to an Oracle specific example of creating a fragmented table? I've tried to search online and have found the "partition by" keyword but not much else except for database linking - but I'm thinking this is more concerned with querying than actually creating the fragments.
    Many thanks for your time

    >
    Partitioning is what the tutor meant by "fragmentation". So if there is a current central database and I have created new databases for each regional office I could run something like the below statement on the regional databases to create a bespoke version of the employee table filtered by data relevant to them? This is all theoretical and we don't have to develop the database, I just want to get the syntax correct - Thanks!
    >
    There you go talking about 'new databases' again. You said your original task was this
    >
    my task is to "design a data distribution scheme".
    >
    Is the task to give the regions access to their own data in the ONE central DB? Or to actually create a new DB for each region that contains ONLY that regions data?
    So are we talking ACCESS to a central DB by region? Or are we talking replication of the entire central DB to multiple regions?
    Your example table is partitioned by region. But if each region has their own DB why would you put data for other regions in it?
    If you are wanting each region to have access to their own data in the central DB then you could partition the central DB tables like your example:
    CREATE TABLE employees (
    id INT NOT NULL,
    fname VARCHAR(30),
    lname VARCHAR(30),
    hired DATE NOT NULL DEFAULT '1970-01-01',
    separated DATE NOT NULL DEFAULT '9999-12-31',
    job_code INT,
    store_id INT
    PARTITION BY LIST(region_id) (
    PARTITION Wales VALUES IN (2)
    ); But if you are creating a regional DB that includes data only for that region there is no need to partition it.

Maybe you are looking for

  • Select boxes dependent on each other?

    Hi is there a way to use selectboxes / textfileds that depend on each other. select box 1. reads from database names select box 2. this one is filled when a chiose from box 1 is selected. (after a database question based on the result in box 1) inupt

  • Imported objects not visible

    Hi, We have to import some namespaces from one XI server to another. when i try importing into the target server i get information that the import was successful but i cannot see the imported objects. When i use the <b>find transports</b> option to v

  • HT1473 How do I get new CD to load music onto ITunes? Usually it works , but I a new CD I got for Christmas doesn't load?

    Having trouble loading new CD onto Itunes . The CD plays music on other device, and my mac loads other CDs. But it spits out the CD after a minute with not adding or error message

  • Doesnt seem to connect when published in a browser

    Hey friends.. im a total newbie to Flash Media server.. i just started using this for the past 2 days..so, heres the problem im facing..i ve a simpleConnect component and a connectionlight component on my stage and i connect both of em..the connectio

  • Increasing Swap Area on Oracle In Linux

    Hi guys, I was trying to install oracle on Linux and i got an error my swap area is small. when i do $ grep SwapTotal /proc/meminfo i get 524280 kb then i did $ i did the dd if=/dev/zero of =/var/my_swap bs=1024 count=131072 then i activate it by $mk