PdfCrypt - Another Free Pdf Encrypt and Decrypt Software

November 18th, 2008 by rubypdf

PdfCrypt is a windows 32 console/command line version PDF encrypt & decrypt software, supports standard 48 bits, 128 bits, AES-128 bits encryption, and decryption. And first of all,it is free.

Download now(1.84M).

If you need java source code, linux stand alone version, or .net version, please let me know.

It bases on modified version iText 1.5.4 and gcj 3.4.2, compressed with UPX 3.03.

Here is the usage manual,

usage:
pdfcrypt

Where:
= encrypt
[info pairs]

= decrypt

permissions is 8 digit long 0 or 1. Each digit has a particular security function:

AllowPrinting
AllowModifyContents
AllowCopy
AllowModifyAnnotations
AllowFillIn (128 bit only)
AllowScreenReaders (128 bit only)
AllowAssembly (128 bit only)
AllowDegradedPrinting (128 bit only)

Example permissions to copy and print would be: 10100000

Some example,
pdfcrypt encrypt in.pdf out.pdf owner_pwd user_pwd 10100000 AES
pdfcrypt encrypt in.pdf out.pdf owner_pwd “” 11100000 128 //128 bits encrypt with owner password
pdfcrypt encrypt in.pdf out.pdf “” user_pwd 11100000 128 //18 bits encrypt with user password
pdfcrypt decrypt in.pdf out.pdf owner_pwd
if the owner password is empty, please use it in this way,
pdfcrypt decrypt in.pdf out.pdf “”
It means if the pdf only encrypted with user password, you can easily remove the password without the password.
If you forget the owner password, you can try pdfcrack to get it and use PdfCrypt to remove the owner password

JD-GUI Another Fast Java Decompiler

October 22nd, 2008 by rubypdf

Introduction
The aim of “Java Decompiler” project is to develop tools to decompile and analyze Java 5, and upper, “.class” files.
Some facts:
* The final release of JSR 176, defining the major features of the J2SE 5.0, has been published the september 30, 2004.
* The lastest Java version supported by JAD, the famous Java decompiler written by Mr. Pavel Kouznetsov, is 1.3.
* Most of Java decompilers downloadable today from Internet, such as “DJ Java Decompiler” or “Cavaj Java Decompiler”, are powered by JAD : they can not display Java 5 sources.

Main features
* JD-Core and JD-GUI are written in C++. This allows an extremely fast decompilation and a display.
* JD-Core does not require the Java runtime environment for its functioning, therefore no special setup is required.
* JD-Core works with most current compilers including the following:
o jdk1.1.8
o jdk1.3.1
o jdk1.4.2
o jdk1.5.0
o jdk1.6.0
o jikes-1.22
o harmony-jdk-r533500
o Eclipse Java Compiler v_677_R32x, 3.2.1 release
o jrockit90_150_06
* JD-Core supports the following new features of Java 5:
o Annotations
o Generics
o Type “enum”
* JD-GUI supports Drag and Drop.
* JD-GUI supports JAR files.
* JD-GUI displays color coded Java source code.
* JD-GUI allows you to browse the “class” files hierarchy.
* JD-GUI displays “log” files, and allow you to decompile “class” files appearing in Java stack traces.
* JD-Core and JD-GUI use the excellent cross-platform wxWidgets toolkit.
Downloads
jd-gui-0.2.5.windows.zip
jd-gui-0.2.5.linux.i686.tar.gz
jd-gui-0.2.5.osx.i686.dmg

Batch Remove XMP Meta Data from PDF

October 21st, 2008 by rubypdf

Acrobat has the feature to remove XMP, and you have to remove nodes one by one, with my Batch XMP Remover, you can remove all XMP data of the PDF files from the given folder with the help of Acrobat API.
I will release this product recently.

P.S.

Adobe’s Extensible Metadata Platform (XMP) is a labeling technology that allows you to embed data about a file, known as metadata, into the file itself. With XMP, desktop applications and back-end publishing systems gain a common method for capturing, sharing, and leveraging this valuable metadata — opening the door for more efficient job processing, workflow automation, and rights management, among many other possibilities. With XMP, Adobe has taken the “heavy lifting” out of metadata integration, offering content creators an easy way to embed meaningful information about their projects and providing industry partners with standards-based building blocks to develop optimized workflow solutions.