|
Message-ID: <CACYkhxhh215S_kMJe8Hcy+aZ+5Xy3ja5vPc0yRL_QfvrGRnsVQ@mail.gmail.com> Date: Sun, 9 Jun 2013 16:35:49 +1000 From: Michael Samuel <mik@...net.net> To: john-users@...ts.openwall.com Subject: Extra functions/datatypes for external mode? Hi, I currently have some C code that emulates a random password generator, which I was looking at porting to a john external mode. While most of the code works as 32-bit signed integers, I need to do the cast as double, then multiply by (1.0/2^32) trick, which I'm not really sure how to do in integer-only arithmatic (I'm guessing it's technically possible). Is there a way to define C functions that external mode can call, or just add more data types to external mode? Thanks, Michael
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.