Beginning to split Pdfcrypt primitives out into separate module