Click here to Skip to main content
15,949,686 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Link dialog (Hyperlink) Pin
jinxster24-Jun-09 19:05
professionaljinxster24-Jun-09 19:05 
QuestionUse same DLL instance accross separate applications Pin
jwhite638824-Jun-09 11:42
jwhite638824-Jun-09 11:42 
AnswerRe: Use same DLL instance accross separate applications Pin
Christian Graus24-Jun-09 15:12
protectorChristian Graus24-Jun-09 15:12 
GeneralRe: Use same DLL instance accross separate applications Pin
Jon_Boy25-Jun-09 1:29
Jon_Boy25-Jun-09 1:29 
QuestionGetting pixel colors in VB.NET Pin
vidguy24-Jun-09 5:23
vidguy24-Jun-09 5:23 
AnswerRe: Getting pixel colors in VB.NET Pin
0x3c024-Jun-09 5:38
0x3c024-Jun-09 5:38 
GeneralRe: Getting pixel colors in VB.NET Pin
vidguy24-Jun-09 6:03
vidguy24-Jun-09 6:03 
Questioni want code please someone help Pin
harieshkumar.n24-Jun-09 2:28
harieshkumar.n24-Jun-09 2:28 
Public Function DecryptString128Bit(ByVal vstrStringToBeDecrypted As String, ByVal vstrDecryptionKey As String) As String

Dim bytDataToBeDecrypted() As Byte
Dim bytTemp() As Byte
Dim bytIV() As Byte = {121, 241, 10, 1, 132, 74, 11, 39, 255, 91, 45, 78, 14, 211, 22, 62}
Dim objRijndaelManaged As New RijndaelManaged()
Dim objMemoryStream As MemoryStream
Dim objCryptoStream As CryptoStream
Dim bytDecryptionKey() As Byte

Dim intLength As Integer
Dim intRemaining As Integer
Dim intCtr As Integer
Dim strReturnString As String = String.Empty
Dim achrCharacterArray() As Char
Dim intIndex As Integer


bytDataToBeDecrypted = Convert.FromBase64String(vstrStringToBeD...


intLength = Len(vstrDecryptionKey)

If intLength >= 32 Then
vstrDecryptionKey = Strings.Left(vstrDecryptionKey, 32)
Else
intLength = Len(vstrDecryptionKey)
intRemaining = 32 - intLength
vstrDecryptionKey = vstrDecryptionKey & Strings.StrDup(intRemaining, "X")
End If

bytDecryptionKey = Encoding.ASCII.GetBytes(vstrDecryptionKe...

ReDim bytTemp(bytDataToBeDecrypted.Length)

objMemoryStream = New MemoryStream(bytDataToBeDecrypted)


Try

objCryptoStream = New CryptoStream(objMemoryStream, objRijndaelManaged.CreateDecryptor(bytDe... bytIV), CryptoStreamMode.Read)

objCryptoStream.Read(bytTemp, 0, bytTemp.Length)

objCryptoStream.FlushFinalBlock()
objMemoryStream.Close()
objCryptoStream.Close()

Catch

End Try


Return (Encoding.ASCII.GetString(bytTemp))

End Function





i have got this cod to encrypt a string i want it to be written in perl


Is it possible
can anyone help me out with this please
help me iam shaking my head for about a weak to do tyhis
AnswerRe: i want code please someone help Pin
Jon_Boy24-Jun-09 2:38
Jon_Boy24-Jun-09 2:38 
GeneralRe: i want code please someone help Pin
Sk9324-Jun-09 3:02
Sk9324-Jun-09 3:02 
JokeRe: i want code please someone help Pin
Christian Graus24-Jun-09 10:39
protectorChristian Graus24-Jun-09 10:39 
GeneralRe: i want code please someone help Pin
Steven J Jowett25-Jun-09 0:38
Steven J Jowett25-Jun-09 0:38 
GeneralRe: i want code please someone help Pin
Jon_Boy25-Jun-09 1:31
Jon_Boy25-Jun-09 1:31 
GeneralRe: i want code please someone help Pin
Steven J Jowett25-Jun-09 2:39
Steven J Jowett25-Jun-09 2:39 
AnswerRe: i want code please someone help Pin
Dave Kreskowiak24-Jun-09 4:07
mveDave Kreskowiak24-Jun-09 4:07 
AnswerRe: i want code please someone help Pin
dan!sh 24-Jun-09 7:39
professional dan!sh 24-Jun-09 7:39 
Questionproperty grid Pin
bhargava240923-Jun-09 23:42
bhargava240923-Jun-09 23:42 
AnswerRe: property grid PinPopular
Christian Graus23-Jun-09 23:45
protectorChristian Graus23-Jun-09 23:45 
GeneralRe: property grid Pin
bhargava240924-Jun-09 0:11
bhargava240924-Jun-09 0:11 
GeneralRe: property grid Pin
Jon_Boy24-Jun-09 1:30
Jon_Boy24-Jun-09 1:30 
GeneralRe: property grid Pin
Henry Minute24-Jun-09 1:33
Henry Minute24-Jun-09 1:33 
AnswerRe: property grid Pin
Jon_Boy24-Jun-09 1:28
Jon_Boy24-Jun-09 1:28 
GeneralRe: property grid Pin
bhargava240925-Jun-09 0:39
bhargava240925-Jun-09 0:39 
Questioncan't write all text to txt file Pin
TheMrProgrammer23-Jun-09 22:50
TheMrProgrammer23-Jun-09 22:50 
AnswerRe: can't write all text to txt file PinPopular
Christian Graus23-Jun-09 23:06
protectorChristian Graus23-Jun-09 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.