Search:

Type: Posts; User: pingusteam

Search: Search took 0.18 seconds.

  1. Replies
    13
    Views
    478

    Re: initialization vector question

    Import section in java class zatest


    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.security.AlgorithmParameters;
    import java.security.spec.KeySpec;
    import...
  2. Replies
    13
    Views
    478

    Re: initialization vector question

    my full change code for Encryption/Decryption its
    First create file named plainfile.txt with text: This its test file with some text.This its original.
    Main project. Here call function skrij and...
  3. Replies
    13
    Views
    478

    Re: initialization vector question

    I get code from here. Im litle change him that I dont nead create separate iv.enc.
    https://javapapers.com/java/java-file-encryption-decryption-using-aes-password-based-encryption-pbe/
    my change...
  4. Replies
    13
    Views
    478

    Re: initialization vector question

    and how i can text from vi.enc "%A›Žu›GžžI? " send to string ?
    decryption code work normall
  5. Replies
    13
    Views
    478

    Re: initialization vector question

    this its all code:
    this its funcion in java clas rezultati



    package preprosti;

    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.security.AlgorithmParameters;
  6. Replies
    13
    Views
    478

    Re: initialization vector question

    My all code its:
    this its funcion in java clas rezultati


    public void skrij(String[] args) throws Exception{
    // file to be encrypted
    FileInputStream inFile = new...
  7. Replies
    3
    Views
    676

    Re: Problem with encryption with pasword

    If I wont that password work corecly I must



    String beseda3; // this its password
    beseda3 = mygeslo.getText();
    beseda3 = "o"+beseda3;
  8. Replies
    13
    Views
    478

    initialization vector question

    I create program for Encryption and Decryption. I like know if its safe initialization vector make public?
    I Create IV with next coomand


    FileOutputStream ivOutFile = new...
  9. Replies
    10
    Views
    476

    Re: throws Exception error

    for me this code work normal.



    rezultati objekt = new rezultati();
    String[] args = null;
    try {
    objekt.skrij(args);
    } catch (Exception ex) {
    ...
  10. Replies
    10
    Views
    476

    Re: throws Exception error

    javni razred Preprosti {
    public void prikaz () {
    rezultati objekt = novi rezultati ();
    String cunam = objekt.poveja (args); // ne deluje normalno
    System.out.println (cunam);

    }
    public...
  11. Replies
    10
    Views
    476

    Re: throws Exception error

    public class Preprosti {
    public void prikaz() {
    rezultati objekt = new rezultati();
    String cunam = objekt.poveja(args); // dont work normal
    ...
  12. Replies
    10
    Views
    476

    Re: throws Exception error

    I get error message:
    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - non-static method sestej() cannot be referenced from a static context
    at...
  13. Replies
    10
    Views
    476

    throws Exception error

    In my neatbens project I have two java class

    First java class have two function.
    public void e()
    public static void f(String[] args) throws Exception


    second java class named rezultati...
  14. Replies
    2
    Views
    400

    Re: How remove empty space

    I create program in java with netbeans 8.2. JDK its 1.8. for showing text I use jtextarea (I use this for input text). If I write text like; sample text with space .
    and I use comand
    string...
  15. Replies
    2
    Views
    400

    How remove empty space

    first im creating program for encrypted text text its encrypted with base64. After then its text save to QR Code. When I now try open QR code I get encrypted text with empty spaces. How I remove...
  16. Replies
    3
    Views
    14,716

    Re: android studio problem

    In my logcatu dont show any errors. My computer dont support emulators and I must create apk and send him to android table?
    This its link to this project...
  17. Replies
    3
    Views
    14,716

    android studio problem

    Hello

    on youtube I find tutor how create program with android studio. Tutor show me how create first activity and put one edittext and tree buttons, first and second button write in edittext which...
  18. Replies
    5
    Views
    1,070

    Re: Java emulator for android

    My computer can run only andy android emulator. How can build adroid aplikacion without support for android emulators?
  19. Replies
    5
    Views
    1,070

    Re: Java emulator for android

    I like know how can run java programs writen with Neatbans in windows under android. Which java emulator under Android get me change for run my programs under Android?
  20. Replies
    5
    Views
    1,070

    Java emulator for android

    Hello
    Im write program in java and like know which java emulator its best for android OS? I'm locking in google play and find many programms. Which its bether? I like run other java program too and...
  21. Replies
    2
    Views
    643

    Re: QR Code qzestion

    Hello
    I find answer for my problem here
    https://stackoverflow.com/questions/2489048/qr-code-encoding-and-decoding-using-zxing
  22. Replies
    3
    Views
    676

    Re: Problem with encryption with pasword

    Some letters cant be first letter ( get wrong decoding message)
    My code for decyption:


    //kljuc2 its password
    kljuc2 = beseda3;
    aaa = kljuc2.length();
    for (int stevec =...
  23. Replies
    2
    Views
    643

    QR Code qzestion

    hello
    im writing program for read and write QR code in netBeans 8.2 . I use library zxing core-3.3.0.jar and zxing javase-3.3.0.jar
    how I make that write Č, (ISO-8859-2) charset in QR Code

    ...
  24. Replies
    0
    Views
    888

    android compiling problem

    Hello
    im create java programs with netBeans 8.2. I like deploy programs for android. But my computer don't support emulators who its mead for test programs. How I can deploy programs without...
  25. Replies
    3
    Views
    676

    Problem with encryption with pasword

    Hello
    i write program for encryption with use pasword. In some cases (pasword its word like belgija program dont decryption normal, if i use another vord or i spell it and use letther word belgija i...
Results 1 to 25 of 25