Suoritettu

Convert Simple PHP function to C# (ASP.NET) code in half an hour, I will pay $10 and 5 star

function generateHashKey($total,$installment,$currency_code,$merchant_key,$invoice_id,

$app_secret){



$data = $total.'|'.$installment.'|'.$currency_code.'|'.$merchant_key.'|'.$invoice_id;



$iv = substr(sha1(mt_rand()), 0, 16);


$password = sha1($app_secret);



$salt = substr(sha1(mt_rand()), 0, 4);


$saltWithPassword = hash('sha256',

$password . $salt);

 $encrypted = openssl_encrypt("$data", 'aes-256-cbc', "$saltWithPassword", null, $iv);


 $msg_encrypted_bundle = "$iv:$salt:$encrypted";
 $msg_encrypted_bundle = str_replace('/', '__', $msg_encrypted_bundle);


 return $msg_encrypted_bundle;


}

Taidot: PHP, C# -ohjelmointi

Näytä lisää: asp net code buyer, gridview asp net code, link backlink checking code asp net code, curl api php asp net code, php asp net code converter, php asp net code converters, rss currency convert asp net code, source code simple shopping cart project asp net, convert webpage to pdf in asp net using c#, simple crud operations in asp.net c#, convert string to date in asp net c#, simple update query in asp.net using c#, convert html to pdf in asp net c#, simple login form in asp.net using c#, function in asp.net c#, simple crud operation in asp.net c#, convert html to pdf in c# asp net, convert image to byte array asp.net c#, convert asp net code to c#, convert pdf to image in asp.net c#

Tietoa työnantajasta:
( 31 arvostelua ) KUALA LUMPUR, Bangladesh

Projektin tunnus: #28958958

Myönnetty käyttäjälle:

achrafchiboub

Hello, I m a certified C# .NET developer with 4 years of experience. I alreay did similar projects. I m available, i can start work immediately... Ping me for more details..............................

$10 USD 1 päivässä
(29 Arvostelua)
4.5

2 freelanceria on tarjonnut keskimäärin $15 tähän työhön

tambeswap755

Hi, This is swapnil. I can help you to convert php function to c#. I have 8 yrs of experience. Lets discuss it in more detail once you are available. Thanks!

$20 USD 7 päivässä
(2 arvostelua)
1.3