CryoEnix
Regular
Hi there guys, I wasn't sure which area to post in, so I thought this one best.
I'm currently writing an encryption program side by side in Java and VB.NET, to compare performance differences and generally get the hang of Java (I'm new to it). Problem is, I have this code to initialize the encryption class in VB:
How do I recreate this in Java? I've tried all sorts, and any Java documentation I can find is way over my head. Any ideas?
I'm currently writing an encryption program side by side in Java and VB.NET, to compare performance differences and generally get the hang of Java (I'm new to it). Problem is, I have this code to initialize the encryption class in VB:
Code:
Dim NewEnc(1024) As ClassEnc6
For Num = 1 To UBound(NewEnc)
NewEnc(Num) = New ClassEnc6("encryptionkey")
Next
How do I recreate this in Java? I've tried all sorts, and any Java documentation I can find is way over my head. Any ideas?