Convert VB.NET Encrypt Function to Java (Maven)

This is the function i need the SAME functionality in JAVA.

Public Function ServerEncrypt(ByVal plainText As String) As String

Dim passPhrase As String = "date"

Dim saltValue As String = "mySaltValue"

Dim hashAlgorithm As String = "SHA1"

Dim passwordIterations As Integer = 2

Dim initVector As String = "@1B2c3D4E5F6g7H9"

Dim keySize As Integer = 256

Dim initVectorBytes As Byte() = [login to view URL](initVector)

Dim saltValueBytes As Byte() = [login to view URL](saltValue)

Dim plainTextBytes As Byte() = [login to view URL](plainText)

Dim password As New [login to view URL](passPhrase, saltValueBytes, hashAlgorithm, passwordIterations)

Dim keyBytes As Byte() = [login to view URL](keySize \ 8)

Dim symmetricKey As New [login to view URL]()

[login to view URL] = [login to view URL]

Dim encryptor As [login to view URL] = [login to view URL](keyBytes, initVectorBytes)

Dim memoryStream As New [login to view URL]()

Dim cryptoStream As New [login to view URL](memoryStream, encryptor, [login to view URL])

[login to view URL](plainTextBytes, 0, [login to view URL])

[login to view URL]()

Dim cipherTextBytes As Byte() = [login to view URL]()

[login to view URL]()

[login to view URL]()

Dim cipherText As String = [login to view URL](cipherTextBytes)

Return cipherText

End Function

Habilidades: Java, VB.NET, Programação C, .NET

Veja mais: access report convert vb net, convert vb net, convert vb net application visual studio, convert vb net blackberry, convert vb net code php code, convert vb net coding, convert vb net download, convert vb net files payment gateway asp net, convert vb net pda, convert vb net project completed working software, convert vb net symbian, convert vb net tovb6, convert vb net vb

Acerca do Empregador:
( 25 comentários ) MEXICO, Mexico

ID do Projeto: #23619718

11 freelancers estão ofertando em média $22 para esse trabalho


Hello I know both VB.NET and Java and I have extensive experience with converting code from one programming language to another one.

$20 USD em 1 dia
(1533 Comentários)

hi sir am interested in your task. myself 6 years experienced java developer. I have good knowledge of back end too. I can provide you a quality work for assurance please check my reviews. ping me to discuss more.

$15 USD em 1 dia
(20 Comentários)

Hi Dear, Our best concern is to follow your requirement and deadline and we will do our best for the success of your project. Feel free to send message to discuss your project with us. Thank you very much! Surely, we'r Mais

$35 USD em 1 dia
(5 Comentários)

Hello, I've just gone through job description carefully and am interested. I have rich experience in these fields. I am working in these fields for years, so I have enough confidence with these kinds of projects. I Mais

$20 USD in 7 dias
(1 Comentário)

Hello, I can convert the encryption method to Java - I'm experienced Java and have previously worked with cryptography for Android networking. I will include unit tests to ensure that the output is consistent with orig Mais

$30 USD in 3 dias
(1 Comentário)

I am interested in your project .just ping me to start your work my skills are mentioned below Java J2EE spring boot I made my own web Application of REAL ESTATE property dealing with admin panel,UI on angular 4 and ba Mais

$30 USD em 1 dia
(2 Comentários)

Hi sir am ready to do that for you. am 3 years experienced java developer. am new at freelancer but not in development. i assured you 100% fast and great work guarantee. please give me a chance to prove my skills.

$17 USD em 1 dia
(2 Comentários)

Buen día estimado. Tengo experiencia de 2 años en el ámbito empresarial desarrollando diversos sistemas de finanzas, logística y facturación en Java. Por ese motivo tengo conocimiento de las mejores prácticas para prog Mais

$15 USD em 1 dia
(1 Comentário)

Hello. I have some experiences for similar projects with yours. I have rich experiences as a algorithm developer for 12 years. I have developed 50+ projects based .NET, C Programming, Java, VB.NET and some of them are Mais

$30 USD in 4 dias
(0 Comentários)

Its so interesting for me, Let me know yr detail and fix it ASAP. Thanks for your attention. Have a good time.

$20 USD in 7 dias
(0 Comentários)

I have one already made java code that produces the same output result that yours code. And I'll be happy to send to you this work. Waiting your answer.

$12 USD em 1 dia
(0 Comentários)