1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Buying string encrypter desktop application

Discussion in 'Programming' started by stats, Dec 24, 2019.

  1. #1
    i need a small desktop application (.exe file, for Windows) to do the following.

    1. open a .csv file (via file-open dialog)
    2. take an input of secret_key and secret_iv (see below)
    3. take an input of the "save-as"
    4. encrypt the first column of CSV and put it as last column (see how many columns there are, add one more column)
    5. save the newly generated CSV (original with 1 added column) in given location.
    6. when i close and reopen the program - it should come back with pre-filled secret_key and secret_iv

    here is the encryption code in PHP, translate it to the language you use
    function myCrypter($string, $secret_key, $secret_iv)
    {
        $encrypt_method = "AES-256-CBC";
        $key = hash('sha256', $secret_key);
        $iv = substr(hash('sha256', $secret_iv), 0, 16);
      
        $output = base64_encode(openssl_encrypt($string, $encrypt_method, $key, 0, $iv));
        $output = str_replace(['+', '/', '='], '', $output);
      
        return $output;
    }
    PHP:

    if everything is done correctly - with following keys:
    $secret_key = 'gh356u%#^uj3h5^hertj68eujJUfr';
    $secret_iv = 'I^57ki$^7i#%i3hjryjt';

    the encrypted version of 'hello world' will be:
    V1U1b3E2OGpJY3JtRmtKU3N4TER2Zz09

    please PM me with your price. Payment is paypal as soon as i receive the working version.
     
    stats, Dec 24, 2019 IP
    StaSen likes this.
  2. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    i built it for you. check your PM convo
     
    happpy, Dec 24, 2019 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Hi, have you got a working program or still looking for one?
     
    gapz101, Jan 8, 2020 IP