Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Weird error with Cryprt::Blowfish and Crypt::DES

by Beechbone (Friar)
on Oct 21, 2004 at 10:40 UTC ( #401114=note: print w/replies, xml ) Need Help??


in reply to Re: Weird error with Cryprt::Blowfish and Crypt::DES
in thread Weird error with Cryprt::Blowfish and Crypt::DES

Ok, got a result. input_len is 12. At least it was 12 in the single test run we managed to complete before lunch. Next thing I'll try is:
if (input_len != 8) { printf("blowfish_crypt(): handling %d bytes\n", input_len) +; printf("Bytes: "); for (i = 0; i < input_len; i++) { unsigned char a = (unsigned char) *(input + i); printf("%d ", a); } printf("\n"); croak("input must be 8 bytes long"); }
But again I have to wait. Seems I'm the only person around who's not at lunch right now...

PS: I know that my C code is ugly, but at least it works. ;-)


Search, Ask, Know

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://401114]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-06-28 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (624 votes). Check out past polls.