Nestor Urquiza - 2015-01-12

This is only related to bouncy castle BTW. With the weak PBEWithMD5AndDES algo it works for very long passwords indeed.

$ ./encrypt.sh "input=This is a test" password=$password algorithm=PBEWithMD5AndDES

----ENVIRONMENT-----------------

Runtime: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.11-b03

----ARGUMENTS-------------------

algorithm: PBEWithMD5AndDES
input: This is a test
password: 1234567890123456789012345678901234567890

----OUTPUT----------------------

Pw/HSwFPFw5nltGjs10IW54R5j8RTga3