Help me in encryption

hi,
can u send the code of procedure for storing the data in encrypted form,and trigger to call that procedure.
regards,
pratapveluri

Hi Mark,
We are developing a big product and everything is in JRE1.3 ,we have no plans of upgrading to 1.4 for a mere security component.My question is
1.If i have to use JCE should i have JRE1.4.
2.The runtime error which i get is 'Algorithm DES not found'.Does DES only ship with JRE1.4
3.Can u suggest any step which can be useful for configuring it with JRE1.3
4.JRE1.4 is still in Beta right?
Thanks in anticipation...
Santosh

Similar Messages

  • Is that where you are offering to help retrieve the encryption-answer questions and cod have been an accident and do not forget the answers

    HHlo Is that where you are offering to help retrieve the encryption-answer questions and cod have been an accident and do not forget the answers

    How to reset your Apple ID security questions
    Go to appleid.apple.com and click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email.
    Go to the Password & Security section on the left side. Then underneath the security questions click on the link that says 'Forgot your answers? Send reset security info email to [email]'.  This will generate an automated e-mail that will allow you to reset your security questions. 
    If that doesn't work, or  there is no rescue email link available, then you will need assistance from Apple Account Security. Follow this procedure:
    click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later. 
    Next, go to getsupport.apple.com. If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services'.
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.  Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.
    The above information quoted with gratitude from TJBUSMC1973, another user in these forums.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base before you post a question.
    Regards.

  • Need some help on data encryption in Forms 6i with Oracle Database.

    Hi,
    Here is my requirement:
    I have a username and a password field, and i can add new users to it and ofcourse set a password for it.This password will be visible as asteriks on the forms but i want it to entered in the encrypted format in the database in the designated table.Can anyone help me with this.(hope my question is clear!!!)
    Thanks,
    Aparna.
    null

    Hi,
    try it in the follwing very simple way:
    translate each character of the password to it's ascii value and add a constant value you like. e.g. i = asc(substr(pwstring,i,1)) + k. concatenate each char-value of i(whitch have to be a fix length string of f.e. 4 digits) to build op the encrypted string. you can rich up this by calculating k in differents ways like:
    K = offset + i. and by the way this encryption can call n times, mean encrypt the encryption, if you want.
    the decryption is yout turn ;-)
    hope this will help you...
    Regrads
    biki
    null

  • Need Help to Download encrypted Photos to my MAC

    I've connected my BB Tour to my Mac and trying to import to iPhoto.  I've been able to drag and drop a picture to a folder, but because it has REM appended to the file name, that is where I have a problem.  My company requires memory encryption, so I'm stuck with that setting.  Device memory, fine.   But I wish I can change the memory card to not encrypt  because those are usually music, photos or videos.  
    After I copy the picture to a folder, I rename the file to remove REM and leave just the JPG part.  But when I try to open or import, the file is unrecognizable.  
    I've even tried to read just the memory card using a card reader, but my MAC can't even see the card.  
    I hope someone can help. 

    There are various programs out there for recovering photos from an iPod, have a look at the ones below. If you search the internet you can find more:
    iPodPhotoCopy Windows only
    CopyPodPhoto Windows only
    iPod Photo Liberator Mac & Windows
    iPodCopy Mac and Windows Versions
    If you have full resolution copies of the photos on the iPod have a look here: Apple Knowledge Base article - Use Disk Mode to copy photos from iPod

  • Help needed in encrypting and decrypting a file

    Hello,
    I just started looking into the Java Security.I need to encrypt a file using any popular alogrithm like RSA or DES and write it to disk.and again decrypt this file at a later time when needed.
    I was checking out with different ways of doing so,but found it difficult to persist the key some where.
    Could some one help me in this regard,with a tutorial or a sample program where I will be able to give cleartext file as an input and get a ciphered text file as output and vice versa?

    Probably the simplest solution is to use password-based encryption (PBE). See http://java.sun.com/j2se/1.5.0/docs/guide/security/CryptoSpec.html#PBEEx
    for an example.

  • Help with password encryption

    Hello I am trying to create a one way hash password encryption...here is what I have developed so far.....
    Login class (contains GUI)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.awt.image.*;
    import javax.imageio.*;
    public class Login implements ActionListener
      // declare class variables and objects
      // overall frame
      private FrameBase jf;
      // buttons
      private JButton btnNewUser,btnLogin;
      // data display labels
      private JLabel lblMessage, lblUser, lblPassword, lblTitle, lblCheck,lblNotes;
      // text fields for data entry
      private JTextField txtUser, txtPassword,txtCheck;
      // graphic object
      private BufferedImage eSay;
      // panels for organization
      private JPanel pnlTitle, pnlMain, pnlGraphic;
      // font objects
      private Font fntTitle, fntMain, fntControl,fntNotes;
      // user name for repeated set screen calls
      private String name;
      // store screen layout option code
      private int option;
      // option 1 - regular start-up
      // option 2 - new user screen
      // option 3 - user / password check
      public Login(String name)
        // set up the fonts
        fntTitle=new Font("Helvetica", Font.BOLD, 25);
        fntMain=new Font("Helvetica", Font.BOLD, 20);
        fntControl=new Font("Helvetica", Font.BOLD, 15);
        fntNotes=new Font("Helvetica", Font.BOLD, 16);
        // set the BufferedImage object to null;
        eSay=null;
        try
          // load the image from disk into a BufferedImage object
          eSay=ImageIO.read(new File("h:\\My documents\\ICS4M1\\Login\\eSay.jpg"));
          // set up the screen
          this.name=name;
          this.option=1;
          setScreen(name);
        catch (IOException e)
          // message if file not found
          System.out.println("Image not found");
      public void setScreen(String name)
        jf= new FrameBase(name);
        // set up the screen
        Container contentPane=jf.getContentPane();
        contentPane.setLayout(new BorderLayout());
        // set up the graphic
        pnlGraphic=new JPanel();
        pnlGraphic.setLayout(new BorderLayout());
        // load the BufferedImage into the ImageLabel
        ImageLabel il=new ImageLabel(eSay,"");
        // load the ImageLabel onto the panel
        pnlGraphic.add("Center",il);
        // set up the title section
        lblTitle=new JLabel("Welcome to eSay",0);
        lblTitle.setFont(fntTitle);
        lblMessage=new JLabel("Enter user name and password and click on Login or click on New User to set up a new account",0);
        lblMessage.setFont(fntControl);
        // set up the panel for the title area
        pnlTitle=new JPanel();
        pnlTitle.setLayout(new GridLayout(2,1));
        pnlTitle.add(lblTitle);
        pnlTitle.add(lblMessage);
        // set up the input section of the screen
        lblUser=new JLabel("User: ");
        lblUser.setFont(fntMain);
        lblPassword=new JLabel("Password: ");
        lblPassword.setFont(fntMain);
        lblCheck=new JLabel("Re-Type Password: ");
        lblCheck.setFont(fntMain);
        lblCheck.setEnabled(false);
        lblNotes=new JLabel("<html><font color=\"red\">User name 6 to 10 alphanumeric characters,  password 5 to 8 alphanumeric characters, </font></html>",0);
        lblNotes.setFont(fntNotes);
        txtUser=new JTextField(20);
        txtUser.setFont(fntMain);
        txtPassword=new JTextField(20);
        txtPassword.setFont(fntMain);
        txtCheck=new JTextField(20);
        txtCheck.setFont(fntMain);
        txtCheck.setEnabled(false);
        btnLogin=new JButton("Login");
        btnLogin.setFont(fntMain);
        btnNewUser=new JButton("New User");
        btnNewUser.setFont(fntMain);
        // make the button active
        btnLogin.addActionListener(this);
        btnNewUser.addActionListener(this);
        // assemble the input section panel
        pnlMain=new JPanel();
        pnlMain.setLayout(new GridLayout(5,2));
        pnlMain.add(lblUser);
        pnlMain.add(txtUser);
        pnlMain.add(lblPassword);
        pnlMain.add(txtPassword);
        pnlMain.add(btnNewUser);
        pnlMain.add(btnLogin);
        pnlMain.add(lblCheck);
        pnlMain.add(txtCheck);
        // add the panels to the screen
        contentPane.add(pnlTitle,"North");
        contentPane.add(pnlGraphic,"Center");
        contentPane.add(pnlMain,"East");
        contentPane.add(lblNotes,"South");
        // set up and show the frame
        jf.setSize(900,400);
        jf.show();
      } // end of setScreen()
      public void actionPerformed(ActionEvent e)
        if (e.getSource()==btnNewUser)
          if (option==1)
            lblCheck.setEnabled(true);
            txtCheck.setEnabled(true);
            lblMessage.setText("Create a login name and password, enter the password twice as indicated");
            btnLogin.setEnabled(false);
            option=2;
          else if (option==2)
            String tempUser=txtUser.getText();
            String tempPassword=txtPassword.getText();
            String tempCheck=txtCheck.getText();
            if (tempPassword.equals(tempCheck))
              ValidateUser vu=new ValidateUser(tempUser,tempPassword);
              if (vu.getEncryptedPassword()==null)
                lblMessage.setText("Please check guidelines for user name and password and re-enter");
              else
                lblMessage.setText("Login created - Welcome to eSay!");
            else
              lblMessage.setText("Passwords do not match, please re-enter login and password twice");
        else if (e.getSource()==btnLogin)
      }  // actionPerformed
      public static void main(String args[])
        Login l=new Login("eSay Message Board");
    }  // end class Login            User class
    public class User
      private String userName;
      private String password;
      private int numberLogins;
      public User(String userName, String password)
        this.userName=userName;
        this.password=password;
        this.numberLogins=0;
      // gets for surname, first name and number of logins
      public String getUserName()
        return userName;
      public int getNumberLogins()
        return numberLogins;
      public void resetLogins()
        this.numberLogins=0;
      public void login()
        this.numberLogins++;
      public static void main(String args [])
           // enter test statements here
    } // end of User classValidate User(validation)
              System.out.println ("A character is invalid");
              return false;   
        return true;        
         // create an encrypted password if user name and password are valid
        public void encryptPassword()
        // standard get for encrypted password
        public String getEncryptedPassword()
          return encryptedPassword;
    }PasswordService(One way hash conversion)
    package org.myorg.services;
    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import org.myorg.SystemUnavailableException;
    import sun.misc.BASE64Encoder;
    import sun.misc.CharacterEncoder;
    public final class PasswordService
      private static PasswordService instance;
      private PasswordService()
      public synchronized String encrypt(String plaintext) throws SystemUnavailableException
        MessageDigest md = null;
        try
          md = MessageDigest.getInstance("SHA");
        catch(NoSuchAlgorithmException e)
          throw new SystemUnavailableException(e.getMessage());
        try
          md.update(plaintext.getBytes("UTF-8"));
        catch(UnsupportedEncodingException e)
          throw new SystemUnavailableException(e.getMessage());
        byte raw[] = md.digest();
        String hash = (new BASE64Encoder()).encode(raw);
        return hash;
      public static synchronized PasswordService getInstance()
        if(instance == null)
          return new PasswordService();
        else   
          return instance;
    }

    I was wondering if someone could help me to incorporate some kind of one way hash into the encryptPassword method in Validate user...i am having problems trying to call on the PasswordService and incorporating everything. The reason i supplied all the code was so that the reader could understand how different programs correlate with one another

  • Newbie needs help about Data Encryption

    bought a Wireless G router Saturday, followed the instruction on the cd and hooked up the router to the Desktop (ME) and the cable modem.  I am happy that my new laptop (XP) can surf the Internet anywhere in the house.
    Can anyone see what I can doing when I surf the net via the laptop (wireless)?  Can they see for example what I am typing in a Word document?
    Since the desktop is connected to the router, can anyone see what's in my desktop computer?
    On the laptop, I click on properties of Linksys router, it says: Data Encryptiopn No.
    Do I need to set the laptop up for data encrytion?  What is it encryting?  stuff I type in my e-mail? stuff I type using Word?  Does it only encrypt stuff that I send through the Internet?
    What's WAP, WEP?  Do I need it?
    I called Linksys Tech Support, gave up after waiting for 30 minutes.
    Please help.

    No, no one can see what you type on your WORD document or whatever you are doing on your computers. It says NO ENCRYPTION because you have'nt enabled any security on your router. What the encryption does, is that it prevents other people that has a wireless PC to connect in your wireless network and get internet access. Once the encryption is enabled, if a PC tries to connect, it will be asked for a password, so if they input the incorrect password, they will not be able to connect and use your internet access. Did I make it clear?
    WPA and WEP are types of encryption. WPA is more secured but it is not compatible with all wireless cards or laptop PC (if they are wireless ready). So i do suggest you use WEP on your router.

  • Help With ASE Encryption

    Hello friends,
    Can anyone out there tell me or point me to information on how to set up the ASE_ENCRYPTION option for version 15.7?
    I have an existing ASE installation for testing purposes. I want to install the encryption option there but I cannot locate any
    step-by-step documentation on how to do that. The ASE 15.7 Encrypted Columns Users Guide simply states:
    "Install the license option ASE_ENCRYPTION. See the Adaptive Server Enterprise Installation Guide."
    and when I go to the ASE Installation Guide it refers me to the SySam User's Guide...
    and when I go to the SySam User's Guide it gives no instructions on *how* to install the encryption option.
    So, to summarize:
    1.) Do I need to generate a license file that includes the ASE_ENCRYPTION option and start ASE with this license file? I was
    told by someone at SAP that there should be a way to get and use this option for thirty days (grace license) while we test
    and evaluate.
    2.) If above is true, will this work with the Developer's Edition of ASE or do I have to get a Enterprise Edition SR or SV
    license? (By the way, I do have an available SV license for Enterprise. I generated the license file and it shows that this license includes
    a package of Components= ASE_CORE  Options=SUITE)
    Any help with this will be appreciated.

    Thanks for your help Ajit,
    I believe you are correct. I was told that the ASE_ENCRYPTION option was already packaged with the software so all I had to do was "turn it on". For some reason I was thinking it had to be installed via a script or something.
    Anyway, I have successfully "turned on" the option using :
    sp_configure "enable encrypted columns", 1
    go
    I will now attempt to create an encryption key and go forward with data encryption.
    Thanks again for your input

  • Help With Simple Encryption Code

    I'm making a Cipher for personal use and possible publish as freeware. Can someone help me figure out what I'm missing in my code and/or post possible fixes? Thanks!
    P.S. If this code looks ametuer, it's because it is. I'm just a freshman in college :)
    Encryption Class:
    import java.util.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    public class EncryptionModule {
    static final int keylength = 42;
    private SecretKeySpec skeySpec;
    public EncryptionModule(String key)
    skeySpec = makeKey(key);
    public SecretKeySpec makeKey(String keys)
    SecretKeySpec skeySpec = null;
    try {
    byte [] keys_raw = keys.getBytes();
    skeySpec = new SecretKeySpec(keys_raw, "Blowfish");
    } catch(Exception e) {
    e.printStackTrace();
    return skeySpec;
    public String EncryptionModule(String line)
    byte[] encrypted = new byte[0];
    try {
    Cipher cipher = Cipher.getInstance("Blowfish");
    cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
    encrypted = cipher.doFinal(line.getBytes());
    } catch(Exception e) {
    e.printStackTrace();
    return new String(encrypted);
    public String Decrypt(String line)
    byte[] decrypted = new byte[0];
    try {
    Cipher cipher = Cipher.getInstance("Blowfish");
    cipher.init(Cipher.DECRYPT_MODE,skeySpec);
    decrypted = cipher.doFinal(line.getBytes());
    } catch(Exception e) {
    e.printStackTrace();
    return new String(decrypted);
    File IO Class:
    import java.io.*;
    import java.awt.*;
    import java.util.*;
    public class FileIO
    BufferedReader inputFile;
    String inputFileName;
    BufferedWriter outputFile;
    String outputFileName;
    ArrayList dataList;
    ArrayList breakLine;
    EncryptionModule EncryptionModuleor;
    * Constructor for objects of class IO.
    public FileIO(String key)
    dataList = new ArrayList();
    breakLine = new ArrayList();
    EncryptionModuleor = new EncryptionModule(key);
    public void main(String[] args) throws IOException
    dataList = new ArrayList();
    breakLine = new ArrayList();
    setInputFile();
    * setInputFile - Displays a dialog box to select and open a file for input
    * @return true if success, false otherwise
    public boolean setInputFile() throws IOException
    boolean fileOpened = true;
    FileDialog myDB = new FileDialog(new Frame(),"Select a log file for INPUT");
    myDB.setDirectory(".");
    myDB.show();
    inputFileName = myDB.getFile();
    if (inputFileName==null){
    fileOpened = false;
    else {
    try {
    inputFile = new BufferedReader(new FileReader(myDB.getDirectory()+"\\"+inputFileName));
    catch(FileNotFoundException e) {
    fileOpened = false;
    return fileOpened;
    * setOutputFile - Displays a dialog box to select and open or create a file for output
    * @return true if success, false otherwise
    public boolean setOutputFile() throws IOException
    boolean fileOpened = true;
    FileDialog myDB = new FileDialog(new Frame(),"Select or create a file for OUTPUT");
    myDB.setDirectory(".");
    myDB.setMode(FileDialog.SAVE);
    myDB.show();
    outputFileName = myDB.getFile();
    if (outputFileName==null){
    fileOpened = false;
    else{
    try {
    outputFile = new BufferedWriter(new FileWriter(myDB.getDirectory()+"\\"+outputFileName));
    catch(FileNotFoundException e) {
    fileOpened = false;
    return fileOpened;
    public void processData()throws IOException
    dataList = new ArrayList();
    if (!setInputFile()){
    System.out.println("Cannot open selected input file: "+inputFileName);
    return;
    String line;
    line = inputFile.readLine(); //Read a new line from the input file
    EncryptionModuleor = new EncryptionModule(line);
    line = inputFile.readLine();
    while(line != null)
    dataList.add(EncryptionModuleor.EncryptionModule(line));
    line = inputFile.readLine(); //Read a new line from the input file
    copyFile();
    public void copyFile() throws IOException
    if (!setOutputFile()){
    System.out.println("Cannot open selected output file: "+outputFileName);
    return;
    for (int i=0; i<dataList.size(); i++){
    outputFile.write((String)dataList.get(i));
    if (i<dataList.size()-1){
    outputFile.newLine();
    outputFile.close();
    }

    You dont say what the problem is so one has to guess!
    1) " return new String(encrypted);"
    It is not realy safe to convert bytes to String this way. This must be close to the number 1 problem seen in this forum. Use something like Base64 or HEX encoding.
    2) Don't just catch exceptions and print out stack traces!
    If you intend to publish the encrytpion class then define an exception class specific to this problem (maybe more than one) and convert internal exceptions that you can't handle to this exception.
    3) You ave not defined a mode or padding and are relying on the default. Make it explicit so there is no argument as to what mode and padding is being used.
    4) For some reason you are breaking a file into lines and then encrypting each line. Why not just encrypt the whole file as bytes. Much easier, quicker, less code.
    5) Rather than use a GUI to select the file why not make them command line parameters using the standard UNIX/DOS approach.

  • Help with RSA Encryption using SATSA

    Hello,
    I am a new to writing code on J2ME . I am trying to encrypt data using
    RSA public key on J2ME using SATSA.
    I generated the public key using openssl in the PEM format and stored the
    key (mypublickey) as a Base64 decoded byte array in my code.
    Next, I did the following:
    X509EncodedKeySpec test - new X509EncodedKeySpec(mypublickey);
    KeyFactory kf = KeyFactory.getInstance("RSA");
    PublicKey key = kf.generatePublic(test);
    I used this key to encrypt as follows:
    cipher c = Cipher.getInstance("RSA");
    c.init(Cipher.ENCRYPT_MODE, key);
    c.doFinal(data,0,data.length,ciphertext,0);
    where byte[] data = "1234567890".getBytes();
    I get no errors during this process.
    Now, when I try to decrypt the string, I get a padding error as follows:
    javax.crypto.BadPaddingException: Data must start with zero
    The decode is done on a server.
    I tried getting an instance of the cipher with RSA/ECB/NoPadding and this time the decrypt gives junk.
    Question 2: The SATSA example online at http://java.sun.com/j2me/docs/satsa-dg/AppD.html
    has a public key embedded as a byte array. They haven't explained how
    this key is generated. Does someone know?
    Question 3: Suppose, I can get the modulus and exponent of the public key is there any way I can convert it to X509EncodedKeySpec so that I can
    use the APIs in SATSA?
    Thanks in advance for your help. I have been trying to solve this for a lot of time and any help will be greatly appreciated.

    Just wanted to add my code:
    public class test2 {
         public static void main(String[] args) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException, ShortBufferException {
              // TODO Auto-generated method stub
              byte [] data = "012345678901234567890123456789ab".getBytes();
              Base64 base64 = new Base64();
    /*public key generated by
              byte [] mypublickey = base64.decode("publickey in PEM format");
              byte [] ciphertext = new byte[128];
              X509EncodedKeySpec test = new X509EncodedKeySpec(mypublickey);
              byte [] myprivatekey = base64.decode("privatekey in pkcs8format");
    KeyFactory rsakeyfac = KeyFactory.getInstance("RSA");
              PublicKey pubkey = rsakeyfac.generatePublic(test);
              Cipher c1 = Cipher.getInstance("RSA");
              c1.init(Cipher.ENCRYPT_MODE, pubkey);
              c1.doFinal(data, 0,data.length, ciphertext);
              PKCS8EncodedKeySpec pks2 = new PKCS8EncodedKeySpec(myprivatekey);
              RSAPrivateCrtKey privkey = (RSAPrivateCrtKey)rsakeyfac.generatePrivate(pks2);
              Cipher c2 = Cipher.getInstance("RSA");
              c2.init(Cipher.DECRYPT_MODE, privkey);
              byte [] decrypteddata = c2.doFinal(ciphertext);
              System.out.println("Decrypted String is:"+new String(decrypteddata).trim());
    Error that I get is:
    Exception in thread "main" javax.crypto.BadPaddingException: Data must start with zero
         at sun.security.rsa.RSAPadding.unpadV15(Unknown Source)
         at sun.security.rsa.RSAPadding.unpad(Unknown Source)
         at com.sun.crypto.provider.RSACipher.a(DashoA13*..)
         at com.sun.crypto.provider.RSACipher.engineDoFinal(DashoA13*..)
         at javax.crypto.Cipher.doFinal(DashoA13*..)

  • Help, How to encrypt database exp  backup files?

    Hi all,
    Now, My customer want to encrypt the database backup file. We use exp command backup database, and the backup files can be restored on other servers.
    So, How to encrypt database exp backup files?
    Thanks.
    Eric David.

    Hi;
    In addition to Aman post, please mention your db and OS version,so we can help you more specificly.
    I also suggest please see below googling which mention and explain rman+encrypted backup
    http://www.google.com.tr/#hl=tr&sa=X&ei=dCAtTpuwHMjOswa1gOH3Dw&ved=0CBUQBSgA&q=RMAN%2Bencrypted+backup&spell=1&fp=503f556dbe78c402&biw=1280&bih=797
    Regard
    Helios

  • Can any body help in doing Encryption & Decryption process????????

    Hi,
      I am developing one file-file interface for sending sensitive data from one file system to another file system. As this is sensitive data, i need to decrypt this data ( file i am picking from source system is already encrypted in source directory ) and i need to send it to target system. i found some alternatives like module development and pgp encryption. I am not that much proficient to develop module and i looking at other alternative like pgp. Is PGP is free software?? how can i install and how can i call from my sender adapter?? Please Help.
         Thanks
    madhusudhan.

    Hi madhusudan
    refer the below link
    <u>Encryption & Decryption of data using ABAP</u>
    /people/kathirvel.balakrishnan2/blog/2006/11/21/encryption-decryption-of-data-using-abap
    <u>JAVA API's for PGP Encryption/Decryption</u>
    http://www.bouncycastle.org/documentation.html
    you got some examples
    Check this document on how to do message level security:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    Deploying the SAP Java Cryptographic Toolkit
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/cb71b8046e6e469bf3dd283104e65b/frameset.htm
    Key Storage Service
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/a1dd44d2c83c43afb5ec8a4292f3e0/frameset.htm
    If these things are already done then u need juz few modification in the adapter configuration.
    In FTP Connection Parameters -> command line -> FTPS (Control and Data connection)
    You can also go through the blogs
    Encryption(SSL)
    /people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2e7020d-0d01-0010-269c-a98d3fb5d16c
    Examples for Using Digital Signatures
    http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
    How to configure Message level security
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2e7020d-0d01-0010-269c-a98d3fb5d16c
    document on encryption in adpaters
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    Encrypt and Decrypt Data
    <b>Pls reward if useful</b>

  • Help!! Encryption problem...

    Bought an imac a few days ago. Mac is totally new to me. Anyway, some of my file are encrypted now. I accepted the encryption a few days ago, while under the impression that the mac would be better protected from outside interference if the 'stuff was encrypted'. Wrong! It now appears that some of my files cannot be opened. Anyone have any ideas on how I can "un-encrypt"?

    Thank you for your suggestion but I have already had a couple of phone sessions with NETGEAR support and they don't see any problems with the router settings etc. They referred me to Apple support, who helped me discover that it is possible to communicate with the router but only if I turn off the encryption/security software, which I don't want to do. The frustrating thing is that I can connect wirelessly from a laptop running Windows 7 and two Anroid smart phones, with WPA-2 in place, without a problem. Do you have any other ideas?

  • Help required on Encryption and Signing.

    Hello All,
    Client:
    Client is having his own Private key and the public key of the Server.
    Server:
    Server is having his own Private key and the public keys of all the clients.
    When a client wants to send a document to the server with both encryption and signed,
    then he will encrypt the document with the server's public key and then sign the encrypted document
    with his own Private key.
    And then sends it to the server.
    When the server receives the signed object from the client, he has to verify the signature with
    the public key of the client and he has to decrypt the document with the Pirvate key of the server.
    How can we verify the signature?
    By just saying,
    Signature sig = Signature.getInstance("SHA1withRSA");
    sig.initVerify(kp.getPublic());
    boolean verifies = sig.verify(realSig);
    where "realSig" is the signed object.
    In this case i am unable to verify the signature. Even if i succeeded here in verifying the signature,
    how do i decrypt the signed object.
    My question is,
    When the client sends signed object to server, does he sends anything else along with it?
    Say for example if he sends the encrypted document along with the signed object then if i say,
    Signature sig = Signature.getInstance("SHA1withRSA");
    sig.initVerify(kp.getPublic());
    sig.update(cipherText);
    boolean verifies = sig.verify(realSig);
    where "cipherText" is the encrypted document.
    In this case i am able to verify the document and since i will have the encrypted document
    along with the signed object i will decrypt this using the Private key of the server.
    So is it must and should that i need to send the encrypted document everytime along with the signed object to the server.
    Thanks and have a nice time.

    I have two suggestions for you
    First read a good book about cryptography. Even using secure cryptographic algorithms is no guarantee that your solution is secure. Without thorough understanding of cryptography and security someone might break in due to some implementation mistake in your security mechanism. My recommendations: "Applied Cryptography" written by Bruce Schneier and "An Introduction to Cryptography (IntrotoCrypto.pdf)" by Phil Zimmermann, Network Associates. This PDF document can be downloaded as part of the free PGP product from http://www.pgp.com, http://www.pgpi.com or http://www.nai.com
    Second take a serious look at S/MIME. S/MIME allows information to be wrapped in signed and/or encrypted data blocks in a secure way. The S/MIME standard is around for a few years and has been thoroughly reviewed. Bouncycastle (www.bouncycastle.org) contains an library for creating and handling S/MIME data. Never invent your own formats when a standard is available. More information about S/MIME can be found at RSA labs (www.rsa.com or www.rsalabs.com).

  • How do I protect my FLV files? or How to encrypt and decrypt FLV files using AIR?

    Hi,
         I am working on an AIR application, which is developed on eLearning concept. The application mainly deals with flv files. The application contains a video player component, which will stream flv files from an Apache Server and played in my application. Here my concern is I would like to protect my flv files some how against users who may stream them from Apache Server and use them without my application.
         I thought of with an idea to do it. But I don't know whether it will work or not. So I am requesting for your suggestions and better ways to do this with a sample.
    Here is my thought:
    I would like to place the encrypted FLV files at Apache Server side [ Need to know how to encrpt the FLV files using Flex]
    As my AIR application send a request for a FLV file, the Apache server should send the decryption key and a stream of FLV file.
    AIR application should take the decryption key, stream of flv file and it should capable enough to decrypt the FLV file and play it in my application. [ But I don't know how to encrypt/decrypt FLV files through flex]
    I can do encryption of FLV files using Mac Address of Apache Server system and using Java. But I don't know how can I decrypt the same FLV file ( Encrypted using Mac Address and java ) at AIR application side.
    So I would be greatfull If any body help me in encrypting and decrypting of FLV file with a sample using Flex 3.0.
    Thanks
    Sudheer Puppala

    russellfromblackburn south wrote:
    Is it because the portable drive is NTFS format and the Mac wont recognise this? If so what do I do?
    Yes, this is exactly what is causing the problem. Macs cannot write to NTFS formatted drives, only read. You must move the documents to the internal HDD/SSD of the Mac to be able to edit them.
    Or, since you say you don't want to move the documents to the internal storage, you'll need to format the external HDD as FAT32.

Maybe you are looking for

  • Does my late 2007(?) MacBook Pro support 64 bit Windows 7?

    I have a macbook pro with a 2.4 GHz Intel Core 2 Duo (MacBookPro3,1), and I believe it is late 2007 but I'm not sure because the apple website is a little ambiguous about it when I submit my serial number.  The support website http://support.apple.co

  • Using values from an HTML in a JSP

    Hi, Is it possible to use the values from form entries on a HTML page on a JSP page that gets called when the Submit button is clicked? Thanks!

  • Trying to install AirPort Utility on Vista laptop, get error code 2318

    Error code pops up during installation saying "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2318." Anyone familiar with it? Need help setting up Express to

  • Errors with Dreamweaver

    I am running Dreamweaver CS4 on Mac OS X version 10.6.7. When I try to insert an image I get this error: And this is what happens to my code after I push ok: I do have my visual aids on and I also reset my prefrences. Anyone have any solutions for th

  • Remove decimal places

    I am using Report Builder 9i. I have an horizontal bar with the values being displayed next to the bars. The first value is 1.000, second value 58.00, third value is 533.0. How can I change the format so no decimal places are displayed. Thanks Brendo