Implemented flag to toggle padding in DES
Corrected the pin length return value,
Added pin length checking
Merge branch 'pingen'