Criptography in WAS - Help will be rewarded

hello guys,
i need help. I want to crypt information on a bsp app and then encrypt it. I find the way to crypt the data with some function module located on WAS that use md5 or sha1 algorithm, but i didn't find the way to encrypt it, coz' the function module that i use is a one way crypter. So i have the crypted data (HASH) and its digital signature, How can i uncrypt it on WAS??? can anyone help me with this???....thanx in advance HELP WILL BE REWARDED.

i did it

Similar Messages

  • Banner (rotative)...ANY HELP WILL BE REWARDED!!!!

    Hello you guys,
    I’m working on the development of a rotative banner, for someone that doesn’t know what it is…is a banner (in several web pages you can find one) that change the image present in it once on a while (every certain time), and each one of those image represent a point of entry for accessing to an specific place…in almost all of the cases, different web pages… in my case a specific portal’s role, user profile. The images that I want to present in the banner are store in the km repository. I found a solution that serves me well for my purpose, but I need to find another solution for achieve my goal and now I going to explain why:
    I’m using a JSPDynpage PAR, as a parameters of this *.PAR , I get the all the paths where the images are physically store on the server, the names of those images and the paths of the roles (in the PCD) associated to each one of those image. In the before output method, I get the complete path where the image is store, and put it (render it) on my iview, then is executed a wait method and finally with the SUBMIT method, I send again the information (some variables that I need to change the image in the banner) to the browser and that result in the continuing refresh (request – response cycle) of my browser. Its important to know that only the iview’s *.PAR is refreshing when the submit method is execute, not all the page. Know, like I said before all works fine, but the problem is that I want to do this but I don’t want that my browser refresh every certain time…so the question is: is there another way to do this using EPCM API and avoiding the use of the submit method (no refresh the browser)?
    Here is the source code if someone need to look it for give me some answers. Any help will be rewarded. Thanx a lot!!!
    <%@ page pageEncoding="ISO-8859-1"%>
    <%@ page import="java.util.List"%>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page language="java" %>
    <%
         String RefreshTime = (String) componentRequest.getValue("RefreshTime");
         String imgURL = (String) componentRequest.getValue("imgURL");
         String name = (String) componentRequest.getValue("name");
         String URL = (String) componentRequest.getValue("URL");
    %>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
             <hbj:inputField
               id="InputName"
               type="string"
               maxlength="100"
               visible = "FALSE"
               value="<%=name%>"/>
             <hbj:inputField
               id="InputURL"
               type="string"
               maxlength="100"
               visible = "FALSE"
               value="<%=URL%>"/>
    <hbj:gridLayout
              id="myGridLayout1"
              debugMode="FALSE"
              width="100%"
              cellSpacing="5">     
                   <hbj:gridLayoutCell
                 rowIndex="1"
                 columnIndex="1"
                 width="100%"
                 horizontalAlignment="CENTER">
                            <hbj:link
                           id="link1"
                       text=""         
                       target="_TOP">
                           <hbj:image                
                            src="<%=imgURL%>"
                            alt="Banners"/>
                        <% link1.setOnClientClick("javascript:EPCM.doNavigate('"URL"')"); %>
                      </hbj:link> 
          </hbj:gridLayoutCell>
    </hbj:gridLayout>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <SCRIPT LANGUAGE="JavaScript">
    var tid = window.setTimeout("changeMessage()",<%=RefreshTime%>000);
    function changeMessage(){
         var myFormId = document.getElementById(htmlb_formid);
         myFormId.submit();
    function stopMessageBanner(){
         if (typeof tid != "undefined"){
              clearTimeout(tid);
    </SCRIPT>
    Anexo la clase java
    import com.sapportals.htmlb.Image;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.Link;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentURI;
    public class ZbannersRotatives extends PageProcessorComponent {
      public DynPage getPage(){
        return new ZbannersRotativesDynPage();
      public static class ZbannersRotativesDynPage extends JSPDynPage{
         private IPortalComponentRequest request;
         private IPortalComponentProfile profile;
         private String RefreshTime ="";
         private String path = "";
         private String name1 = "";
         private String name2 = "";
         private String name3 = "";
         private String url1 = "";
         private String url2 = "";
         private String url3 = "";
         private String name = "";
         private String URL = "";
        public void doInitialization(){
              request = (IPortalComponentRequest) this.getRequest();                         
              profile = request.getComponentContext().getProfile();     
              RefreshTime = profile.getProperty("RefreshTime");
              path = profile.getProperty("path");
              name3 = profile.getProperty("name3");
              url3 = profile.getProperty("url3");
             name = name3;
             URL  = url3;
        public void doProcessAfterInput() throws PageException {
              request = (IPortalComponentRequest) getRequest();
              profile = request.getComponentContext().getProfile();     
              path = profile.getProperty("path");
              name1 = profile.getProperty("name1");
              name2 = profile.getProperty("name2");
              name3 = profile.getProperty("name3");
              url1 = profile.getProperty("url1");
              url2 = profile.getProperty("url2");
              url3 = profile.getProperty("url3");
              InputField currentInputName = (InputField) this.getComponentByName("InputName");
              InputField currentInputURL = (InputField) this.getComponentByName("InputURL");
              String name_var = "";
              String url_var = "" ;
              if (currentInputName != null) {
              name_var = currentInputName.getString().getValue();                    
              url_var = currentInputURL.getString().getValue();
              if(name_var.equals(name3))
                   name = name1;
                   URL  = url1;
              if(name_var.equals(name1))
                   name = name2;
                   URL  = url2;
              if(name_var.equals(name2))
                   name = name3;
                   URL  = url3;
        public void doProcessBeforeOutput() throws PageException {
              request = (IPortalComponentRequest) this.getRequest();                         
              profile = request.getComponentContext().getProfile();     
              RefreshTime = profile.getProperty("RefreshTime");
              IPortalComponentURI componentURI = request.createPortalComponentURI();                         
              componentURI.setContextName("com.sap.km.cm.docs");
              String docsURI = componentURI.toString();
              String imgURL = docsURI + path + "/" + name;     
              Link linkBanner = new Link("lnkBanner");
              linkBanner.setTarget("_blank");
              linkBanner.setOnClientClick("javascript:EPCM.doNavigate('"URL"')");
                   Image oImgBanner = new Image(name,"Banner");
                   oImgBanner.setTooltip("Ayuda");
              linkBanner.addComponent(oImgBanner);
              request.putValue("linkBanner",linkBanner);                              
              request.putValue("name",name);                              
              request.putValue("URL",URL);
              request.putValue("imgURL",imgURL);
              request.putValue("RefreshTime",RefreshTime); 
              this.setJspName("ZbannersRotatives.jsp");

    Hi,
    there is a possibility to make a request to the server without refresh. You can use the XMLHttpRequest object.
    1. create an AbstractPortalComponent component, that will return the desired output into the response (image with link). Let's call this component DataComponent.
    2. create a component, that will output a DIV object with ID for example "myDivId" and a Javascript, that will periodically call a JS function (some JS <i>setTimeout(JsFunctionToCall(), waitTimeInMiliseconds)</i>). In this function you will create a XMLHttpRequest object (different for Mozilla and MSIE):
    var xmlhttp = null;
    // not MSIE
    if (window.XMLHttpRequest)
      xmlhttp=new XMLHttpRequest();
    //  MSIE
    else if (window.ActiveXObject)
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    now prepare the JS function that handles the output (takes the output from XMLHttpRequest object and puts it as is into the DIV contents):
    xmlhttp.onreadystatechange = function() {stateXMLDocChanged();}
    then set up (dataURL is the URL to DataComponent):
    xmlhttp.open("POST",dataUrl,true);
    ...and get the data:
    if (window.XMLHttpRequest)
      xmlhttp.send(null);
    else
      xmlhttp.send();
    Now create the function that fetches the data and puts it into the DIV contents (get the DIV object with id 'myDivId' == myDiv)
    stateXMLDocChanged(){
      myDiv.innerHTML=g_xmlhttp.responseText;
    This is just a draft of a possible solution. You can see the concept working in our "EFP portal" <a href="http://www.szif.cz">www.szif.cz</a> (there is only one HTML for the output - no frames, no IFrames, but the 'iviews' are refreshed only 'locally').
    Hope this helps you a bit,
    Romano
    PS: and yes, <a href="http://www.szif.cz">www.szif.cz</a> is a real SAP Portal

  • HELP WILL BE REWARDED!!!

    Hello all,
    i want to make a WD app that reproduces a sound (audio file store in the same directory of the app). Any ideas??? HELP WILL BE REWARDED

    Hai Mariana,
    Create a Dummy Class in The Application.
    Save the Audio file in the Same package.
    Create object for that class,
    objDummy.getClass().getResouceAsStream(fileName);
    you can get the file from the Same directory,
    I dont know how to produce sound from audio file..
    regards,
    Naga Raju

  • Combining a WD App with BSP - HELP WILL BE REWARDED

    Hello all,
    i have a situation. I have to call a webdympro app from bsp application, without refreshing the current page (the job is done internally), i mean without using the method call_application. The thing is that i have to use a Web services but the WSDL's structure doesn't work for sap, and when i try to create a proxy object for a enterprise services that help me to get the WS in BSP, occurs an error. So i consume the WS from a WD application (perfectly) and now i have to comunicate that application in WD with the BSP App. Any ideas...Please help !!!!
    PS: the wd app is Webdynpro with Java App

    1. Is the connection to the backend is based on SAPlogonticket based or user mapping based?
    2. if its logonticket based, you should not have this problem at all, as portals DSM terminator would have killed the backend session ( whats the cach property set in BSP iview?) - sometimes the DSM may not be working - (popup blocker, etc)
    3. get_server cookie - i am not sure about this, and i doubt that this is the cause of the problem,  but a good practice is to delete the serverside cookies as soon as you finished using it - check in the BSP whether they are deleting.
    Regards
    Raja

  • Combining Webdympro app with BSP- HELP WILL BE REWARDED!!!

    Hello all,
    i have a situation. I have to call a webdympro app from bsp application, without refreshing the current page (the job is done internally), i mean without using the method call_application. The thing is that i have to use a Web services but the WSDL's structure doesn't work for sap, and when i try to create a proxy object for a enterprise services that help me to get the WS in BSP, occurs an error. So i consume the WS from a WD application (perfectly) and now i have to comunicate that application in WD with the BSP App. Any ideas...Please help !!!!

    1. Is the connection to the backend is based on SAPlogonticket based or user mapping based?
    2. if its logonticket based, you should not have this problem at all, as portals DSM terminator would have killed the backend session ( whats the cach property set in BSP iview?) - sometimes the DSM may not be working - (popup blocker, etc)
    3. get_server cookie - i am not sure about this, and i doubt that this is the cause of the problem,  but a good practice is to delete the serverside cookies as soon as you finished using it - check in the BSP whether they are deleting.
    Regards
    Raja

  • I did not deactivate a photoshop cs6 before there was a new hard drive installed with a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be

    I did not deactivate a photoshop cs6 before there was a new "C" hard drive installed on my computer and a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be appreciated.

    If it's the same machine (same CPU) there should not be any need to activate.  The actiovation is tied to your CPU.
    If you run into problems, then:
    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option. 1 (800) 833-6687
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • Urgent please help will reward points

    How do i join two trans table with indexes.
    please help will reward points.

    Hi,
    Just copy paste this code, activate and test.
    INNER JOIN.
    TYPES: BEGIN OF  t_vbak,
                 vbeln TYPE vbeln,
                 END OF t_vbak.
    TYPES: BEGIN OF t_vbap ,
           vbeln TYPE vbeln_va,
           posnr TYPE posnr_va,
           END OF t_vbap.
    DATA: it_vbak TYPE STANDARD TABLE OF t_vbak.
    DATA: wa_vbak TYPE t_vbak.
    DATA: it_vbap TYPE STANDARD TABLE OF t_vbap.
    DATA: wa_vbap TYPE t_vbap.
    select-options:  s_vbeln for wa_vbak-vbeln.
    SELECT avbeln bposnr INTO table it_vbap FROM vbak AS a
                                INNER JOIN vbap AS b ON
                                avbeln = bvbeln WHERE a~vbeln in s_vbeln.
    loop at it_vbap into wa_vbap.
    WRITE:/ wa_vbap-vbeln, wa_vbap-posnr.
    endloop.
    LEFT OUTER JOINT.
    SELECT avbeln bposnr INTO table it_vbap FROM vbak AS a
                                 left outer join vbap AS b ON
                                 avbeln = bvbeln WHERE a~vbeln in s_vbeln.
    loop at it_vbap into wa_vbap.
    WRITE:/ wa_vbap-vbeln, wa_vbap-posnr.
    endloop.
    DIFFERENCE BETWEEN INNER AND LEFT OUTER JOIN.
    With respect to above example,
    INNER JOIN will fetch all those datas with reference to VBAK in VBAP.
    LEFT OUTER JOIN will also fetch all those datas with reference to VBAK in VBAP. But it will also fetch those data which are in VBAK, But not in VBAP.
    hope this helps.

  • I have mistakenly deleted a mail folder which I had created. Can't remember if it was located to 'iCloud' or 'On My Mac'. How can I retrieve the emails contained in this deleted folder? Your help will be immensely appreciated!

    I have mistakenly deleted a mail folder in which I had created. I can't remember if it was located to 'iCloud' or 'On My Mac'. How can I retrieve the emails contained in this deleted folder? Your help will be immensely appreciated!

    Yeah not a problem. It does seem though that if you did not have a Time Machine backup then you may not be able to recover the deleted folder :/ But for future reference to prevent any of this, a Time Machine backup is a great investment.
    What it does is create an entire backup of your computer anything from personal information down to the screen saver.
    What you first need is a new external hard drive (I would recommend a 1TB or higher just to prevent running out of space soon).
    after that, just plug in the drive to your computer.
    once it is plugged in, in the top right hand corner, close to the wi-fi symbol, you should see a symbol that looks like a clock with a backwards arrow around it.
    click on that and select "open time machine preferences"
    just turn the button to the "on" position, and select the backup drive and Time Machine does the rest
    very great tool

  • I need help in tabstrip control....helpful answers will be rewarded....

    Hi All,
    I am finding difficulty with the tabstrip control.i have created 3 tabs one for mara,marc and mard tables.i have to display few fields of these tables in their respective subscreens.using the material number i have to get the values from the table and display it in the respective subscreens.i am getting the output.but if i try to give another value for the material number it is not accepting...it holds the same value i gave before.i tried to use refresh,clear to clear the internal tabes i am using to fetch data.but i am not getting it....also
    i want to use f3 function key to go back even if i havent given the value for  mandatory fields.   can u help me?helpful answers will be rewarded....
    regards,
    sheeba.

    Hi,
    http://help.sap.com/saphelp_nw70/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/d1/801bd2454211d189710000e8322d00/content.htm
    Check think link:
    http://www.****************/Tutorials/ABAP/Tabstrips/page1.htm
    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
    Regards,
    Priyanka.

  • Was able to bluetooth one time to play scrabble on our two iPad 1's, but have not been able to do so again.  Both are searchable, but are not able to find each other.  Any help will be appreciated.  Thanks.

    Was able to bluetooth one time to play scrabble on our two iPad 1's, but have not been able to do so again.  Both are searchable, but are not able to find each other.  Any help will be appreciated.  Thanks.

    Both need to be in the lobby, and searchable at the same time.  Also, if either has been paired with a keyboard or headphone since you played, go into settings, and make sure those devices are unpaired, and not interfering with the process.

  • With the new version of ITune, I do not know how to add a podcast to a playlist.  The "add to playlist" which was easily found on older versions is not available.  Your help will be appreciated.

    I have difficulties with the new version of ITune, which I never experienced in the older versions.
    1.  I do not know how to transfer a new radio podcast to a playlist.  The previous option "show in playlist" does not appear.
    2.  I do not know how to download an older podcast from the list of available ones offered for download.  The latest one only is downloading, none other, not even the most recent but one.
    Your help will be greatly appreciated in these difficulties.
    I thank you in anticipation.
    Curnonego

    Continued at --> https://support.mozilla.com/en-US/questions/896391#answer-preview
    Moderator: Please lock https://support.mozilla.com/en-US/questions/896385?s=&r=1&as=s

  • Need help extremely bad any help will be greatly appreciated.

    I have a video that was filmed in the dark and facing a car thats headlights were beaming straight at the camera I cant find a way to localize enough enhancement to the area directly next to the car that is facing the camera without also enhancing the headlights drowning out the detail im looking for immediatly next to the car. I also have been running into the problem of the video becoming very pixilated after applying effects while I replay the video after applying the effects.What do I do to solve these problems and if any further information is needed please ask. The video is from a cctv 240/320 resolution and filmed at 30fps Which raises another question that I will ask at a different time. Any and all help will be greatly appreciated thanks in advance.

    Welcome to the forum.
    First, I would adjust the added Effect>Levels, and then add the Effect>Highlight & Shadow. Be sure to first turn OFF the Automatic setting (checkbox) for Highlight & Shadow, and then adjust, as is necessary. It is a very useful Effect.
    Good luck,
    Hunt

  • Getting option value in jsp: Urgent help will be appreciated

    Hello All,
    I am working on JSP. I will grade myself as beginner in JSP.
    I am trying to solve since last 2 days, I just want to display the value of option tag, and not able to get it.
    <table>
    <tr>
    <td>
    <html:select name="ActionForm" property="overage">
    <%
    int i;
    int[] arr1=new int[200];
    for (i=0;i<=100;i=i+10)
    arr1=i;
    %>
    <html:option value="/<%=i%>/"><%= arr1%></html:option>
    <%}%>
    </html:select>
    </td>
    </tr>
    </table>
    Please, ignore the syntactical error.
    Now in above code I want to know what is being put up as value of option tag. By value I mean , I want see <html:option ]value="/<%=i%>/> . (Data marked in bold)
    Your help will be appreciated. I tried couple of things such as getParameter(), get Attribute(), getOverage(). Some of it gave me value as "//", it skips the i variable.
    I want to see what is being put up in value for every iteration of loop

    Yeah I know. But thnx for the response.
    I also got that error solved. you know what it was because of those bckslashes. i wrote it,
    <html:option value="<%=i%>"><%=arr%> instead of
    <html:option value="/<%=i%>/"><%=arr[i]%>
    and that worked perfectly. I wish I could have known this before. It would have saved me lot of time.

  • My husband was helping our daughter set up an apple id.  She entered her e-mail address incorrectly, but didn't realize it until AFTER they had entered a credit card number.  How can we cancel the incorrect e-mail address account?

    My husband was helping our daughter set up an apple id.  She entered her e-mail address incorrectly, but didnt realize it until AFTER they had entered a credit card number.  How can we cancel the account with the wrong e-mail address?

    iMac model?
    Mac OS version?
    Both can be viewed fby doing "About this Mac" from the Apple menu at the left end of the menubar. The OS version will be pretty obvious; posting what the window says about your processor will help us figure out what model.
    I ask becasue about 60 percent of the posts here are about newer models than the pre-2006 iMacs this forum serves.
    Not your fault if you found the wrong forum--Apple's labeling is as clear as mud!

  • Lenovo U410 Urgent Help Will Not Turn On

    Hello,
    Firstly i would like to thank anyone reading this post and taking the time out of their day to try and help my problem.
    I have a Lenovo U410 Ultrabook i've had my Laptop for around 1-2 years now and i have kept it in a very good condition there have been no issues with it. About 1 Week ago i was using my laptop left my room for about 30 minutes to have a shower and upon returning i saw that my Laptop was not charging i unplugged the charger from the laptop and place it back in nothing happened. so i turned off my laptop and unplugged the charger from the wall socket. since then i have not been able to turn my laptop back on i have tried but the led's flash twice when i tried to turn it back on. i have changed the fuse in my charger about 3 times with new fuses all 3AMP required and there is no difference at first i thought it was a problem with the charger but now im thinking otherwise and i'm quite worried. After searching around the internet for a fix i have pressed the power button for 30 seconds and the leds blinked 3 times and after trying various methods to turn it back on it has not been succesful i have even uplugged the battery and plugged it back in after removing the back cover. i have no warranty left as it expired and i was not able to renew it. if you have had any experience with similiar problems or any suggestions i would be very interested to hear what you think the next step for me would be. i dont have much money to invest into this laptop but i am prepared to spend some money if need be.
    Thank you for reading my extremely long post,
    Your's faithfully
     Lenovo U410 Urgent Help Will Not Turn On
    Akash Desai

    Dear Evanacoleman
    Welcome in Lenovo Community
    Kindly contact the below support to check your machine at one of our service centers so that the technical team there can decide if this is a miss use case or not 
    Let me know
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • Date format

    please take a look at this SQL statement: select date_column from table1 where to_char(date_column) = '00-000-00' btw i'm using oracle8.. if you use this statement in query analyzer it will return 01-JAN-99 but in sql woksheet it returns 00-000-00. h

  • How to fill data in a table automatically

    Hello Experts, I would like to know if its possible to fill data in a table by looping. I have the following table: Draws( NUM NUMBER, START_DATE DATE NOT NULL, END_DATE DATE NOT NULL, ACTIVE CHAR(1 BYTE) DEFAULT 'Y') Now my table should contain the

  • Scorecards and Dashboards

    Scorecards and Dashboards According to Harvard Business Review, Balanced Scorecard concept is the most influential management idea in the past 75 years. The performance of an organization is tracked against four key perspectives such as Finance, Cust

  • How to search a tree control.

    Hi all, I just started learning Flash Builder not too long ago, quite a learning experience I have to say. I am a little lost and woul like some help from you guys. I am trying to build a menu tree that will display and image and information about th

  • Mysterious missing header files

    Hello, While trying to build some packages recently, I discovered that for some reason, my system was missing a bunch of important header files. GL/gl.h GL/glu.h these were fixed by reinstalling mesa pkg-config reported gtk+-2.0 and glade as not inst