[PrinceProcessor] Trying to change --pw-max
#2
Modify the source.
Code:
--- pp.c-dist   2019-01-14 21:33:46.443328919 -0900
+++ pp.c        2019-09-22 07:25:16.660698312 -0800
@@ -27,9 +27,9 @@

#define IN_LEN_MIN    1
#define IN_LEN_MAX    32
-#define OUT_LEN_MAX   32 /* Limited by (u32)(1 << pw_len - 1) */
+#define OUT_LEN_MAX   36 /* Limited by (u32)(1 << pw_len - 1) */
#define PW_MIN        1
-#define PW_MAX        16
+#define PW_MAX        36
#define ELEM_CNT_MIN  1
#define ELEM_CNT_MAX  8
#define WL_DIST_LEN   0

... but pp64 will take a loooong time to start up.

Also note that if the words really are separated by spaces, you'll need to do something to ensure they're inserted. princeprocessor doesn't have a separator concept, but you can shim the input words to do so. This is a hokey way to do it, but it works: https://gist.github.com/roycewilliams/18...45692bccc2
~
Reply


Messages In This Thread
RE: [PrinceProcessor] Trying to change --pw-max - by royce - 09-22-2019, 05:17 PM