Décerné

Convert function from VB to PHP

I need this function be converted to PHP from VB

Function Decrypt(ByVal value As String) As String

Try

Dim des As New TripleDESCryptoServiceProvider

[url removed, login to view] = New Byte(7) {}

Dim pdb As New PasswordDeriveBytes(encKey, New Byte(-1) {})

[url removed, login to view] = [url removed, login to view]("RC2", "MD5", 128, New Byte(7) {})

Dim encryptedBytes As Byte() = [url removed, login to view](value)

Dim ms As New [url removed, login to view]([url removed, login to view])

Dim decStream As New CryptoStream(ms, [url removed, login to view](), [url removed, login to view])

[url removed, login to view](encryptedBytes, 0, [url removed, login to view])

[url removed, login to view]()

Dim plainBytes(CInt([url removed, login to view] - 1)) As Byte

[url removed, login to view] = 0

[url removed, login to view](plainBytes, 0, CInt([url removed, login to view]))

[url removed, login to view]()

Return [url removed, login to view](plainBytes)

Catch

End Try

End Function

Compétences : PHP, Visual Basic

Voir plus : md5, io, convert vb, byte, php encoding, passwordderivebytes, des php, php function write, md5 visual basic function, string md5, convert key, string function, rc2, md5 decrypt, dianbark, md5 php, decrypt md5, php visual, basic convert php, md5 string, visual basic php convert, php value php, vb php convert, vb php, vb function php

Concernant l'employeur :
( 0 commentaires ) Neptune, Russian Federation

N° du projet : #2373999

5 freelancers are bidding on average $100 for this job

dinotech

Hello Sir, Hi we are interested in doing this project and ready to start immediately. A Small Description About Our company: Wtechsolutions Web Technology is an India based web design Company with gre Plus

100 $ USD en 0 jours
(105 Commentaires)
7.0
experter

Let expert do this for you.

80 $ USD en 1 jour
(17 Commentaires)
4.8
tehnicsmart

Hello,i`m ready

30 $ USD en 2 jours
(12 Commentaires)
3.7
prernapsancheti

I have done similar project I am BE computer with 3 year experience in php Give me opportunity to do your work

40 $ USD en 2 jours
(0 Commentaires)
0.0
P4I2jb5WE

Custom software development - <b><i>Removed by Admin</i></b>

250 $ USD en 1 jour
(0 Commentaires)
0.0