in reply to Re: Java to perl conversion
in thread Java to perl conversion
so I need to be able to create the exact same 256 byte array.java: String key = "1234567890"; perl: my $key = "1234567890";
getting the bytes of the string is also an issuejava: byte[] bytes = new byte[256];
the loop in the code is also quite simple.java: byte[] kbytes = key.getBytes();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Java to perl conversion
by Corion (Patriarch) on May 31, 2013 at 09:35 UTC | |
|
Re^3: Java to perl conversion
by Anonymous Monk on May 31, 2013 at 09:48 UTC | |
by MaGiCaLB (Initiate) on May 31, 2013 at 10:16 UTC | |
by Anonymous Monk on May 31, 2013 at 10:31 UTC |