<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-21330</id>
	<title>Nabble - Jasypt - Users</title>
	<updated>2009-11-05T17:07:40Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Jasypt---Users-f21330.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jasypt---Users-f21330.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jasypt&lt;/a&gt;&amp;nbsp;(Java Simplified Encryption) users list. 
&lt;br&gt;Request help, discuss your ideas or make suggestions, and stay in touch with other jasypt users all over the world.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26225250</id>
	<title>Re: Spring with Jasypt - Decryption not working</title>
	<published>2009-11-05T17:07:40Z</published>
	<updated>2009-11-05T17:07:40Z</updated>
	<author>
		<name>rahul somasunderam</name>
	</author>
	<content type="html">No, I'm just using the unsecure password still...
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;hoffmandirt wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Did you get this working? I am experiencing the same problem.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-with-Jasypt---Decryption-not-working-tp24228958s21332p26225250.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26215798</id>
	<title>Re: Spring with Jasypt - Decryption not working</title>
	<published>2009-11-05T08:38:17Z</published>
	<updated>2009-11-05T08:38:17Z</updated>
	<author>
		<name>hoffmandirt</name>
	</author>
	<content type="html">Did you get this working? I am experiencing the same problem.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-with-Jasypt---Decryption-not-working-tp24228958s21332p26215798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26108536</id>
	<title>Re: cannot find my registered string encryptor</title>
	<published>2009-10-29T01:12:57Z</published>
	<updated>2009-10-29T01:12:57Z</updated>
	<author>
		<name>szygy</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;Problem fixed... for those who are curious, it looks like the problem is just that my application context files couldn&amp;#39;t be loaded when running my JUnit test because they weren&amp;#39;t in the classpath.&lt;br&gt;&lt;br&gt;My solution was to copy the application context file to the same folder as my JUnit test, and then manually set the classpatch to include that file.&lt;br&gt;
&lt;br&gt;Not the most elegant solution, but it does work. Still on the lookout for something that won&amp;#39;t force me to copy the applicationContext file.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 28, 2009 at 8:12 PM, Stephen Dewey &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26108536&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stepheneliotdewey@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;border-left-width: 3px;&quot;&gt;&lt;span style=&quot;display: block;&quot;&gt;I have looked all over the web but can&amp;#39;t seem to find anything addressing a situation like this...
&lt;br&gt;&lt;br&gt;I have a simple column that I am trying to encrypt. I have
specified the type as encrypted in the .hbm.xml file associated with
the POJO itself, where I provide the name of the registered encryptor
in the typedef element.
&lt;br&gt;&lt;br&gt;If I register the encryptor within the code itself (i.e. by
executing actual Java code to register the encryptor), everything works
and my stuff is saved encrypted.
&lt;br&gt;&lt;br&gt;However, if instead of executing Java code, I simply place a
bean in applicationContext.xml (or applicationContext-dao.xml in my
case), and simply copy that XML bean in, I get an error &amp;quot;No string
encryptor registered for hibernate with name
&amp;#39;jasyptHibernateEncryptor&amp;#39;&amp;quot;
&lt;br&gt;&lt;br&gt;I am following the instructions laid out at:
&lt;br&gt;&lt;a href=&quot;http://www.jasypt.org/hibernate3.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.jasypt.org/hibernate3.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;There isn&amp;#39;t a spelling error or anything. Any idea what I should look for?
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26108536&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cannot-find-my-registered-string-encryptor-tp26104360s21332p26108536.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26104360</id>
	<title>cannot find my registered string encryptor</title>
	<published>2009-10-28T17:12:22Z</published>
	<updated>2009-10-28T17:12:22Z</updated>
	<author>
		<name>szygy</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;&lt;span class=&quot;ul-threaded&quot; style=&quot;margin: 1em 0pt 0pt -20px;&quot;&gt;&lt;span class=&quot;connect&quot;&gt;&lt;span id=&quot;li1&quot; class=&quot;li-threaded&quot;&gt;&lt;span class=&quot;threaded&quot;&gt;&lt;span style=&quot;position: static; border-left-width: 3px;&quot; class=&quot;no-bg-color post-border post-middle&quot;&gt;&lt;span id=&quot;post26104232&quot; style=&quot;display: block;&quot;&gt;I have looked all over the web but can&amp;#39;t seem to find anything addressing a situation like this...
&lt;br&gt;&lt;br&gt;I have a simple column that I am trying to encrypt. I have
specified the type as encrypted in the .hbm.xml file associated with
the POJO itself, where I provide the name of the registered encryptor
in the typedef element.
&lt;br&gt;&lt;br&gt;If I register the encryptor within the code itself (i.e. by
executing actual Java code to register the encryptor), everything works
and my stuff is saved encrypted.
&lt;br&gt;&lt;br&gt;However, if instead of executing Java code, I simply place a
bean in applicationContext.xml (or applicationContext-dao.xml in my
case), and simply copy that XML bean in, I get an error &amp;quot;No string
encryptor registered for hibernate with name
&amp;#39;jasyptHibernateEncryptor&amp;#39;&amp;quot;
&lt;br&gt;&lt;br&gt;I am following the instructions laid out at:
&lt;br&gt;&lt;a href=&quot;http://www.jasypt.org/hibernate3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org/hibernate3.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;There isn&amp;#39;t a spelling error or anything. Any idea what I should look for?
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26104360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cannot-find-my-registered-string-encryptor-tp26104360s21332p26104360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26088208</id>
	<title>MD5 issue 1: how to increase interations without impact on the existing</title>
	<published>2009-10-27T19:05:51Z</published>
	<updated>2009-10-27T19:05:51Z</updated>
	<author>
		<name>james.sq</name>
	</author>
	<content type="html">Hi ,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am using jasypt's MD5 for encoding password of user for past few months. I am wondering what is default value for interations. I think if I increase the value of interations,(e.g. may be 10000) it shall be affect my existing application. are there have any advice on it? 
&lt;br&gt;&lt;br&gt;Thanks in advance.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MD5-issue-1%3A-how-to-increase-interations-without-impact-on-the-existing-tp26088208s21332p26088208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26004828</id>
	<title>How to encrypt/decrypt creditcard numbers in a database?</title>
	<published>2009-10-21T23:43:20Z</published>
	<updated>2009-10-21T23:43:20Z</updated>
	<author>
		<name>Koti S</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Any one can &amp;nbsp;please give an example with configuration details &amp;nbsp;for encrpting the credit card number in a database and decryting from the database.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Koti
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-encrypt-decrypt-creditcard-numbers-in-a-database--tp26004828s21332p26004828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25994177</id>
	<title>NoClassDefFoundError displayed when running encrypt.sh</title>
	<published>2009-10-21T07:57:12Z</published>
	<updated>2009-10-21T07:57:12Z</updated>
	<author>
		<name>Nach PL</name>
	</author>
	<content type="html">I tried to run encrypt.sh file in cygwin. I used the following command 
&lt;br&gt;&lt;br&gt;&lt;b&gt;./encrypt.sh input=&amp;quot;this is message&amp;quot; password=MY_PASSWORD verbose=false&lt;/b&gt;&lt;br&gt;&lt;br&gt;I am getting the below error message in cygwin. Please let me know the classpath entries to run this file and how i need to set it.
&lt;br&gt;&lt;br&gt;vmuser@vmware01 /tmp/jasypt-1.5/bin
&lt;br&gt;$ ./encrypt.sh input=&amp;quot;this is message&amp;quot; password=MY_PASSWORD verbose=false
&lt;br&gt;&lt;b&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError: org/jasypt/intf/cli/J
&lt;br&gt;asyptPBEStringEncryptionCLI
&lt;br&gt;Caused by: java.lang.ClassNotFoundException: org.jasypt.intf.cli.JasyptPBEString
&lt;br&gt;EncryptionCLI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net&lt;/b&gt;.URLClassLoader$1.run(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.security.AccessController.doPrivileged(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.URLClassLoader.findClass(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClassInternal(Unknown Source)
&lt;br&gt;Could not find the main class: org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI.
&lt;br&gt;&amp;nbsp; Program will exit.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NoClassDefFoundError-displayed-when-running-encrypt.sh-tp25994177s21332p25994177.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25877049</id>
	<title>Decrypting Jasypt PBE encrypted data in a windows app</title>
	<published>2009-10-13T10:12:46Z</published>
	<updated>2009-10-13T10:12:46Z</updated>
	<author>
		<name>lpint</name>
	</author>
	<content type="html">The company I work for had a portal written for them that is written in Java. &amp;nbsp;They are using Jasypt PBE to encrypt birtdates, driver's license numbers and social security numbers. &amp;nbsp;I need to decrypt this data from a windows application that I am writing (not in Java). &amp;nbsp;I am attempting to use an ActiveX control from Chilkat to do the decryption (and encryption) in this application. &amp;nbsp;I am unable to figure out how to go about the decryption and the people who wrote the portal are not all that helpful. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I believe the data in the database has the &amp;quot;salt&amp;quot; appended to the front of the encrypted data. &amp;nbsp;It is supposed to be base64 encoded. &amp;nbsp;I know the password used to encrypt it. &amp;nbsp;The people who wrote the portal said that they think the first 8 characters of the encrypted data string is the salt. &amp;nbsp;They think I need to base64 decode the data, then use the first 8 characters as the salt and the remaining data as the data to be decrypted. &amp;nbsp;They think the iteration count is 1000. (Which I don't think I need to decrypt. &amp;nbsp;That is only used when generating a new salt, right?) &amp;nbsp;They said Jasypt uses &amp;quot;PBEWithMD5AndDES&amp;quot;, which I'm thinking means MD5 hash algorithm for the salt generation and DES for the actual data encryption algorithm. &amp;nbsp;
&lt;br&gt;&lt;br&gt;There appears to be 2 versions of PBE encryption and they can't tell me which one is being used. &amp;nbsp;They don't know what the key length should be (they think it might be 128). &amp;nbsp;
&lt;br&gt;&lt;br&gt;I've tried every combination of parameters that I can come up with but I am getting no where on this and I've spent many days on it already. &amp;nbsp;Can anybody point me in the right direction? &amp;nbsp;
&lt;br&gt;&lt;br&gt;Is there an ActiveX control available that handles this for me in the same manner that it is done in Java?
&lt;br&gt;&lt;br&gt;I have used the Jasypt CLI and it works for my testing but is not a viable solution for the production environment.
&lt;br&gt;&lt;br&gt;Thanks for your time and consideration,
&lt;br&gt;&lt;br&gt;Larry
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Decrypting-Jasypt-PBE-encrypted-data-in-a-windows-app-tp25877049s21332p25877049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25838174</id>
	<title>Re: Database encryption and fields/columns that need to be decrypted</title>
	<published>2009-10-10T13:37:54Z</published>
	<updated>2009-10-10T19:54:50Z</updated>
	<author>
		<name>cornflakes</name>
	</author>
	<content type="html">I looked at the following article which shows how Jasypt does database encryption with Hibernate:
&lt;br&gt;&lt;a href=&quot;http://jasypt.org/hibernate3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jasypt.org/hibernate3.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Under the section &amp;quot;Providing the encryptor to Hibernate&amp;quot;, there are two options&amp;quot;: &lt;b&gt;Using Spring&lt;/b&gt;&amp;nbsp;and &lt;b&gt;Without Spring&lt;/b&gt;. &amp;nbsp;In the examples &lt;b&gt;Using Spring&lt;/b&gt;&amp;nbsp;the password for the encryptor is stored in the spring bean definition. &amp;nbsp;Is that not a security hole? &amp;nbsp;Where should it be stored, as an environmental variable and then read in? &amp;nbsp;Security-wise, is that sufficient?
&lt;br&gt;&lt;br&gt;In the example &lt;b&gt;Without Spring&lt;/b&gt;, there is no password at all. &amp;nbsp;Should there be? &amp;nbsp;Where should it be stored (to comply with security standards)?
&lt;br&gt;&lt;br&gt;To summarize, the use case I have is:
&lt;br&gt;&lt;br&gt;1. encrypt user passwords
&lt;br&gt;2. encrypt other sensitive data, like social security numbers, names, and bank account numbers.
&lt;br&gt;&lt;br&gt;With regards to 2, the reason for encrypting this data ((like social security numbers, and bank account numbers) is if someone runs off with the box, he/she could not do anything with the data. &amp;nbsp;This data, however would still need to be decrypted by the application so it can be used (or presented to the user). &amp;nbsp;Where should this encryption/decryption key be stored? &amp;nbsp;How does this work with Jasypt (the guide states that encrypted attributes/properties cannot be used as part of projection queries (SUM, MAX, ..) as this is done on the database before decryption by hibernate, and cannot also be part of an ORDER BY clause). &amp;nbsp;I guess they can be used with the WHERE clause, as long as a fixed salt generator is used? 
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Database-encryption-and-fields-columns-that-need-to-be-decrypted-tp25836616s21332p25838174.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25836616</id>
	<title>Database encryption and fields/columns that need to be decrypted</title>
	<published>2009-10-10T10:45:29Z</published>
	<updated>2009-10-10T10:45:29Z</updated>
	<author>
		<name>cornflakes</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I'm currently investigating encrypting certain database columns, such as user passwords and other sensitive data such as usernames and social security numbers. &amp;nbsp;The (java) application uses Hibernate and a MySQL database on the backend.
&lt;br&gt;&lt;br&gt;The use case is, username, password, and social security are stored in the database. &amp;nbsp;According to the Jasypt documentation, one should never be able to decrypt the password (the code should just compare digests). &amp;nbsp;That makes sense for passwords. &amp;nbsp;What about for other data, like usernames and social security numbers? &amp;nbsp;This is data that we'll want to encrypt in the database, but would also need to be retrieved. &amp;nbsp;Where would/should the encryption key be stored (so if someone hacks through the system, they cannot decrypt this information from the database)?
&lt;br&gt;&lt;br&gt;Jasypt seems to handle this, but I wanted to confirm with the following, more specific questions:
&lt;br&gt;&lt;br&gt;1. In the application code (business logic), what will this code be working with? &amp;nbsp;More specifically, as mentioned in the article below for encrypting user passwords, it says &amp;quot;you should not even have a way to get to read/know/see your users' passwords, no matter if you are the system administrator&amp;quot;. &amp;nbsp;I understand that for passwords, but for other data, like social security numbers or usernames, we'll want to make sure that the data stored in the database is encrypted, but that we can obtain the original data (username and social security number). &amp;nbsp;How does Jasypt handle this, or more importantly, how should this be handled in the application (using Jasypt)?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://jasypt.org/howtoencryptuserpasswords.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jasypt.org/howtoencryptuserpasswords.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;2. If we use Jasypt to encrypt the database column for the user password using a one way digest method, there is no way of someone gaining access to the original password (as you explained in that article). &amp;nbsp;
&lt;br&gt;&lt;br&gt;With regards to the usernames and passwords, these too can be encrypted in the database, but since we need to be able decrypt this information, wouldn't an encryption key need to be stored somewhere (like in the application layer)? &amp;nbsp;Where should this encryption key be stored, so if someone were to hack through the system, they couldn't decrypt these fields? &amp;nbsp;Or maybe there is a better way to do this?
&lt;br&gt;&lt;br&gt;Thanks in advance (and sorry for what could be obvious).</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Database-encryption-and-fields-columns-that-need-to-be-decrypted-tp25836616s21332p25836616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25816204</id>
	<title>HMAC support</title>
	<published>2009-10-08T23:42:09Z</published>
	<updated>2009-10-08T23:42:09Z</updated>
	<author>
		<name>Carlos Quiroz</name>
	</author>
	<content type="html">Hi all
&lt;br&gt;&lt;br&gt;First of all thanks to you for jasypt, it indeed simplifies many of the chores on encryption for everyday usage. 
&lt;br&gt;&lt;br&gt;In my current project one thing I need to do is to create keyed MACs or HMACs, in paticular SHA-1 HMAC as needed for example for OAuth &lt;a href=&quot;http://oauth.net/core/1.0a&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oauth.net/core/1.0a&lt;/a&gt;&lt;br&gt;&lt;br&gt;I couldn't find support for hmacs in javasypt but perhaps I'm not looking well enough. Would an hmac be the same as normal digestor with a given salt?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Carlos Quiroz</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HMAC-support-tp25816204s21332p25816204.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25774152</id>
	<title>using jasypt salt and storing the salt in the db</title>
	<published>2009-10-06T11:26:14Z</published>
	<updated>2009-10-06T11:26:14Z</updated>
	<author>
		<name>jhgreene</name>
	</author>
	<content type="html">Hi -
&lt;br&gt;I am currently using jasypt to encrypt my users' passwords, but am not using a salt. &amp;nbsp;From what I've read, if I call passwordEncryptor.setPlainDigest(false), where passwordEncryptor is the ConfigurablePasswordEncryptor instance, a salt and iteration count will be used automatically. &amp;nbsp;This sounds fine, but I also believe I will need to store the salt with the account's username and salted hash (hashed salt+password), so that users may be authenticated when they log in. &amp;nbsp;I haven't seen a very clear example or explanation on how to do this. &amp;nbsp;Can someone point me to a simple example on not only how to apply a salt automatically using jasypt, but going further and getting a handle to the salt so it can be stored in the db? &amp;nbsp;Thank you.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-jasypt-salt-and-storing-the-salt-in-the-db-tp25774152s21332p25774152.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25471110</id>
	<title>Re: (no subject)</title>
	<published>2009-09-15T18:22:45Z</published>
	<updated>2009-09-15T18:22:45Z</updated>
	<author>
		<name>Niklasr</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;both any DES and any md5 are stricly meant broken and can smoothly tunnel to stronger, I heard and inform, sha or rsa are strongest (rsa you can claim copyright Euclid). integrate with maven is very convenient, build activates download:&lt;br&gt;

 &lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;groupId&amp;gt;org.jasypt&amp;lt;/groupId&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;artifactId&amp;gt;jasypt&amp;lt;/artifactId&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;version&amp;gt;1.3&amp;lt;/version&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;&lt;br&gt;variable algorithm is very good forwardcompatible pattern, like math.h any functions returns, any function has variables and providerindependent line seems&lt;br&gt;

passwordEncryptor.encryptPassword(userPassword);&lt;br&gt;thanks to all, project succeds even the likely&lt;br&gt;code disponible &lt;a href=&quot;http://montao.googlecode.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;montao.googlecode.com&lt;/a&gt;&lt;br&gt;spanish &lt;a href=&quot;http://m.Koolbusiness.com?hl=es&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.Koolbusiness.com?hl=es&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25471110&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28no-subject%29-tp25455283s21332p25471110.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25457508</id>
	<title>Re: (no subject)</title>
	<published>2009-09-15T09:40:24Z</published>
	<updated>2009-09-15T09:40:24Z</updated>
	<author>
		<name>dfernandez</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;&lt;br&gt;The algorithms are provided by your JCE implementation, not jasypt. So you should query your JCE directly and see what&amp;#39;s available for you in your providers.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Daniel.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Tue, Sep 15, 2009 at 6:07 PM, Mike Baranski &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;list-subscriptions@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;+------------------------+&lt;br&gt;
  Jasypt Users List&lt;br&gt;
  &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&lt;br&gt;
+------------------------+&lt;br&gt;
&lt;/div&gt;Wonderful, thanks for the help.  Is there an algorithm list somewhere?  I&lt;br&gt;
looked for it but could not find one (even in the javadocs).&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Mike.&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&amp;gt;-----Original Message-----&lt;br&gt;
&amp;gt;From: Daniel Fernández [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dfernandez@...&lt;/a&gt;]&lt;br&gt;
&amp;gt;Sent: Tuesday, September 15, 2009 11:40 AM&lt;br&gt;
&amp;gt;To: Jasypt users list&lt;br&gt;
&amp;gt;Subject: Re: [jasypt-users] (no subject)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;TripleDES is not a valid PBE algorithm.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;You should be using something like PBEWithMD5AndTripleDES, as is used in&lt;br&gt;
&amp;gt;some examples in the website.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;Regards,&lt;br&gt;
&amp;gt;Daniel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski &amp;lt;list-&lt;br&gt;
&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;subscriptions@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       +------------------------+&lt;br&gt;
&amp;gt;        Jasypt Users List&lt;br&gt;
&amp;gt;        &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&lt;br&gt;
&amp;gt;       +------------------------+&lt;br&gt;
&amp;gt;       I&amp;#39;m having the following problem, note that I have downloaded and&lt;br&gt;
&amp;gt;installed&lt;br&gt;
&amp;gt;       (per the readme file) the new jars for &amp;quot;Strong&amp;quot; encryption.  Can&lt;br&gt;
&amp;gt;someone&lt;br&gt;
&amp;gt;       suggest what I might be doing wrong (I added the JAVA_HOME echo to&lt;br&gt;
&amp;gt;the shell&lt;br&gt;
&amp;gt;       script)?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       [root@sirrus bin]# ./encrypt.sh input=&amp;quot;informix&amp;quot;&lt;br&gt;
&amp;gt;password=&amp;quot;SMCsecur3&amp;quot;&lt;br&gt;
&amp;gt;       algorithm=&amp;quot;TripleDES&amp;quot;&lt;br&gt;
&amp;gt;       Java Home: /usr/java/latest&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       ----ENVIRONMENT-----------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM&lt;br&gt;
&amp;gt;1.6.0_02-b05&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       ----ARGUMENTS-------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       algorithm: TripleDES&lt;br&gt;
&amp;gt;       input: informix&lt;br&gt;
&amp;gt;       password: SMCsecur3&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       ----ERROR-----------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       java.security.spec.InvalidKeySpecException: Inappropriate key&lt;br&gt;
&amp;gt;specification&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;       ------------------------------------------------------------------&lt;br&gt;
&amp;gt;------------&lt;br&gt;
&amp;gt;       Come build with us! The BlackBerry&amp;amp;reg; Developer Conference in&lt;br&gt;
&amp;gt;SF, CA&lt;br&gt;
&amp;gt;       is the only developer event you need to attend this year.&lt;br&gt;
&amp;gt;Jumpstart your&lt;br&gt;
&amp;gt;       developing skills, take BlackBerry mobile applications to market&lt;br&gt;
&amp;gt;and stay&lt;br&gt;
&amp;gt;       ahead of the curve. Join us from November 9&amp;amp;#45;12, 2009. Register&lt;br&gt;
&amp;gt;now&amp;amp;#33;&lt;br&gt;
&amp;gt;       &lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
&amp;gt;       _______________________________________________&lt;br&gt;
&amp;gt;       jasypt-users mailing list&lt;br&gt;
&amp;gt;       &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt;       &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry&amp;amp;reg; Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9&amp;amp;#45;12, 2009. Register now&amp;amp;#33;&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
jasypt-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25457508&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28no-subject%29-tp25455283s21332p25457508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25456870</id>
	<title>Re: (no subject)</title>
	<published>2009-09-15T09:07:32Z</published>
	<updated>2009-09-15T09:07:32Z</updated>
	<author>
		<name>Mike Baranski-2</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;Wonderful, thanks for the help. &amp;nbsp;Is there an algorithm list somewhere? &amp;nbsp;I
&lt;br&gt;looked for it but could not find one (even in the javadocs).
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Mike.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt;From: Daniel Fernández [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456870&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dfernandez@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;Sent: Tuesday, September 15, 2009 11:40 AM
&lt;br&gt;&amp;gt;To: Jasypt users list
&lt;br&gt;&amp;gt;Subject: Re: [jasypt-users] (no subject)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;TripleDES is not a valid PBE algorithm.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;You should be using something like PBEWithMD5AndTripleDES, as is used in
&lt;br&gt;&amp;gt;some examples in the website.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Regards,
&lt;br&gt;&amp;gt;Daniel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski &amp;lt;list-
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456870&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;subscriptions@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	+------------------------+
&lt;br&gt;&amp;gt;	 Jasypt Users List
&lt;br&gt;&amp;gt;	 &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&lt;br&gt;&amp;gt;	+------------------------+
&lt;br&gt;&amp;gt;	I'm having the following problem, note that I have downloaded and
&lt;br&gt;&amp;gt;installed
&lt;br&gt;&amp;gt;	(per the readme file) the new jars for &amp;quot;Strong&amp;quot; encryption. &amp;nbsp;Can
&lt;br&gt;&amp;gt;someone
&lt;br&gt;&amp;gt;	suggest what I might be doing wrong (I added the JAVA_HOME echo to
&lt;br&gt;&amp;gt;the shell
&lt;br&gt;&amp;gt;	script)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	[root@sirrus bin]# ./encrypt.sh input=&amp;quot;informix&amp;quot;
&lt;br&gt;&amp;gt;password=&amp;quot;SMCsecur3&amp;quot;
&lt;br&gt;&amp;gt;	algorithm=&amp;quot;TripleDES&amp;quot;
&lt;br&gt;&amp;gt;	Java Home: /usr/java/latest
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	----ENVIRONMENT-----------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM
&lt;br&gt;&amp;gt;1.6.0_02-b05
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	----ARGUMENTS-------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	algorithm: TripleDES
&lt;br&gt;&amp;gt;	input: informix
&lt;br&gt;&amp;gt;	password: SMCsecur3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	----ERROR-----------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	java.security.spec.InvalidKeySpecException: Inappropriate key
&lt;br&gt;&amp;gt;specification
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;	------------------------------------------------------------------
&lt;br&gt;&amp;gt;------------
&lt;br&gt;&amp;gt;	Come build with us! The BlackBerry&amp;reg; Developer Conference in
&lt;br&gt;&amp;gt;SF, CA
&lt;br&gt;&amp;gt;	is the only developer event you need to attend this year.
&lt;br&gt;&amp;gt;Jumpstart your
&lt;br&gt;&amp;gt;	developing skills, take BlackBerry mobile applications to market
&lt;br&gt;&amp;gt;and stay
&lt;br&gt;&amp;gt;	ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register
&lt;br&gt;&amp;gt;now&amp;#33;
&lt;br&gt;&amp;gt;	&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;&amp;gt;	_______________________________________________
&lt;br&gt;&amp;gt;	jasypt-users mailing list
&lt;br&gt;&amp;gt;	&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456870&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;	&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456870&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28no-subject%29-tp25455283s21332p25456870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25456404</id>
	<title>Re: (no subject)</title>
	<published>2009-09-15T08:39:45Z</published>
	<updated>2009-09-15T08:39:45Z</updated>
	<author>
		<name>dfernandez</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;&lt;br&gt;TripleDES is not a valid PBE algorithm.&lt;br&gt;&lt;br&gt;You should be using something like PBEWithMD5AndTripleDES, as is used in some examples in the website.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Daniel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Sep 15, 2009 at 4:41 PM, Mike Baranski &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;list-subscriptions@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;+------------------------+&lt;br&gt;
  Jasypt Users List&lt;br&gt;
  &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&lt;br&gt;
+------------------------+&lt;br&gt;
I&amp;#39;m having the following problem, note that I have downloaded and installed&lt;br&gt;
(per the readme file) the new jars for &amp;quot;Strong&amp;quot; encryption.  Can someone&lt;br&gt;
suggest what I might be doing wrong (I added the JAVA_HOME echo to the shell&lt;br&gt;
script)?&lt;br&gt;
&lt;br&gt;
[root@sirrus bin]# ./encrypt.sh input=&amp;quot;informix&amp;quot; password=&amp;quot;SMCsecur3&amp;quot;&lt;br&gt;
algorithm=&amp;quot;TripleDES&amp;quot;&lt;br&gt;
Java Home: /usr/java/latest&lt;br&gt;
&lt;br&gt;
----ENVIRONMENT-----------------&lt;br&gt;
&lt;br&gt;
Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_02-b05&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
----ARGUMENTS-------------------&lt;br&gt;
&lt;br&gt;
algorithm: TripleDES&lt;br&gt;
input: informix&lt;br&gt;
password: SMCsecur3&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
----ERROR-----------------------&lt;br&gt;
&lt;br&gt;
java.security.spec.InvalidKeySpecException: Inappropriate key specification&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Come build with us! The BlackBerry&amp;amp;reg; Developer Conference in SF, CA&lt;br&gt;
is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;
developing skills, take BlackBerry mobile applications to market and stay&lt;br&gt;
ahead of the curve. Join us from November 9&amp;amp;#45;12, 2009. Register now&amp;amp;#33;&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
jasypt-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456404&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25456404&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28no-subject%29-tp25455283s21332p25456404.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25455283</id>
	<title>(no subject)</title>
	<published>2009-09-15T07:41:31Z</published>
	<updated>2009-09-15T07:41:31Z</updated>
	<author>
		<name>Mike Baranski-2</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;I'm having the following problem, note that I have downloaded and installed
&lt;br&gt;(per the readme file) the new jars for &amp;quot;Strong&amp;quot; encryption. &amp;nbsp;Can someone
&lt;br&gt;suggest what I might be doing wrong (I added the JAVA_HOME echo to the shell
&lt;br&gt;script)?
&lt;br&gt;&lt;br&gt;[root@sirrus bin]# ./encrypt.sh input=&amp;quot;informix&amp;quot; password=&amp;quot;SMCsecur3&amp;quot;
&lt;br&gt;algorithm=&amp;quot;TripleDES&amp;quot;
&lt;br&gt;Java Home: /usr/java/latest
&lt;br&gt;&lt;br&gt;----ENVIRONMENT-----------------
&lt;br&gt;&lt;br&gt;Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_02-b05 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----ARGUMENTS-------------------
&lt;br&gt;&lt;br&gt;algorithm: TripleDES
&lt;br&gt;input: informix
&lt;br&gt;password: SMCsecur3
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----ERROR-----------------------
&lt;br&gt;&lt;br&gt;java.security.spec.InvalidKeySpecException: Inappropriate key specification
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25455283&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28no-subject%29-tp25455283s21332p25455283.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25397828</id>
	<title>Jasypt used with Java binding in eXist</title>
	<published>2009-09-11T02:28:40Z</published>
	<updated>2009-09-11T02:28:40Z</updated>
	<author>
		<name>claud108</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am using Jasypt with Java binding in eXist. The script is:
&lt;br&gt;&lt;br&gt;declare namespace criptare = &amp;quot;java:org.jasypt.encryption.pbe.StandardPBEStringEncryptor&amp;quot;;
&lt;br&gt;&lt;br&gt;let $constructorCriptare := criptare:new()
&lt;br&gt;&lt;br&gt;let $adaugareParola := criptare:setPassword($constructorCriptare, 'password')
&lt;br&gt;&lt;br&gt;let $textDeCriptat := 'text for encryption'
&lt;br&gt;&lt;br&gt;return criptare:encrypt($constructorCriptare, 'text for encryption')
&lt;br&gt;&lt;br&gt;&lt;br&gt;But I got the following error:
&lt;br&gt;exception while calling constructor public org.jasypt.encryption.pbe.StandardPBEStringEncryptor(): null
&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Claudius</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jasypt-used-with-Java-binding-in-eXist-tp25397828s21332p25397828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25349194</id>
	<title>Running on AS400 Java1.4 - Jasypt - ExceptionInInitializerError</title>
	<published>2009-09-08T09:07:07Z</published>
	<updated>2009-09-08T09:07:07Z</updated>
	<author>
		<name>KPassey</name>
	</author>
	<content type="html">Hi I have put together a small text encryption test and it runs OK on my PC.
&lt;br&gt;&lt;br&gt;When I export the same to my AS400 I get the following.
&lt;br&gt;&lt;br&gt;org.jasypt.exceptions.EncryptionInitializationException: java.lang.ExceptionInInitializerError &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:180) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:29) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.RuntimeException.&amp;lt;init&amp;gt;(RuntimeException.java:32) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.commons.lang.exception.NestableRuntimeException.&amp;lt;init&amp;gt;(NestableRuntimeException.java:73) &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.exceptions.EncryptionInitializationException.&amp;lt;init&amp;gt;(EncryptionInitializationException.java:43)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:466) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.initialize(StandardPBEStringEncryptor.java:466) &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sdip.adkcm.EncryptTest.main(EncryptTest.java:11) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Caused by: java.lang.ExceptionInInitializerError &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:180) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Error.&amp;lt;init&amp;gt;(Error.java:37) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ExceptionInInitializerError.&amp;lt;init&amp;gt;(ExceptionInInitializerError.java:61) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.SecretKeyFactory.getInstance(Unknown Source) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 3 more &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:195) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.RuntimeException.&amp;lt;init&amp;gt;(RuntimeException.java:43) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.SecurityException.&amp;lt;init&amp;gt;(SecurityException.java:32) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.b.&amp;lt;clinit&amp;gt;(Unknown Source) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 4 more &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Throwable.&amp;lt;init&amp;gt;(Throwable.java:195) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Exception.&amp;lt;init&amp;gt;(Exception.java:41) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.RuntimeException.&amp;lt;init&amp;gt;(RuntimeException.java:43) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.SecurityException.&amp;lt;init&amp;gt;(SecurityException.java:32) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.b.a(Unknown Source) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.b.g(Unknown Source) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.b£0.run(Unknown Source) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 5 more &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;Did I miss something - my env on the as400 is the same as the PC..
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Kev &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Running-on-AS400-Java1.4---Jasypt---ExceptionInInitializerError-tp25349194s21332p25349194.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25211383</id>
	<title>Re: Encryption using command line</title>
	<published>2009-08-30T06:02:58Z</published>
	<updated>2009-08-30T06:02:58Z</updated>
	<author>
		<name>claud108</name>
	</author>
	<content type="html">Solved by installing java 1.6.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;claud108 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;I was using the command
&lt;br&gt;./encrypt.sh input=&amp;quot;This is my message to be encrypted&amp;quot; password=MYPAS_WORD
&lt;br&gt;&lt;br&gt;but I get the error
&lt;br&gt;----ERROR-----------------------
&lt;br&gt;&lt;br&gt;java.lang.NoClassDefFoundError: com.ibm.icu.text.Normalizer
&lt;br&gt;&lt;br&gt;I use debian lenny
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Claudius
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-SOLVED--Encryption-using-command-line-tp24922436s21332p25211383.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24922436</id>
	<title>[SOLVED] Encryption using command line</title>
	<published>2009-08-11T10:46:04Z</published>
	<updated>2009-08-30T06:03:59Z</updated>
	<author>
		<name>claud108</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I was using the command
&lt;br&gt;./encrypt.sh input=&amp;quot;This is my message to be encrypted&amp;quot; password=MYPAS_WORD
&lt;br&gt;&lt;br&gt;but I get the error
&lt;br&gt;----ERROR-----------------------
&lt;br&gt;&lt;br&gt;java.lang.NoClassDefFoundError: com.ibm.icu.text.Normalizer
&lt;br&gt;&lt;br&gt;I use debian lenny
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Claudius</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-SOLVED--Encryption-using-command-line-tp24922436s21332p24922436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24919230</id>
	<title>Exception in unit test</title>
	<published>2009-08-11T07:54:31Z</published>
	<updated>2009-08-11T07:54:31Z</updated>
	<author>
		<name>Cemilss</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;I am a newbee to Jasypt, and want to use Jasypt with Spring + Hibernate. 
&lt;br&gt;&lt;br&gt;My configuration fails for some reasoun i can &amp;nbsp;not figure out.
&lt;br&gt;&lt;br&gt;Here is my config:
&lt;br&gt;&lt;br&gt;applicationContext-hibernate.xml
&lt;br&gt;&amp;nbsp;	&amp;lt;bean id=&amp;quot;strongEncryptor&amp;quot; class=&amp;quot;org.jasypt.encryption.pbe.StandardPBEStringEncryptor&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	&amp;lt;property name=&amp;quot;algorithm&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;value&amp;gt;PBEWithMD5AndTripleDES&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	&amp;lt;property name=&amp;quot;password&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;jasypt&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; 	&amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; 	&amp;lt;bean id=&amp;quot;hibernateStringEncryptor&amp;quot; class=&amp;quot;org.jasypt.hibernate.encryptor.HibernatePBEStringEncryptor&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;registeredName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;strongHibernateStringEncryptor&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;encryptor&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ref bean=&amp;quot;strongEncryptor&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;My User.java file:
&lt;br&gt;&lt;br&gt;@Entity
&lt;br&gt;@Table(name = &amp;quot;user_t&amp;quot;)
&lt;br&gt;@TypeDef(name = &amp;quot;encryptedPassword&amp;quot;, typeClass = EncryptedStringType.class, parameters = { @Parameter(name = &amp;quot;encryptorRegisteredName&amp;quot;, value = &amp;quot;myHibernateStringEncryptor&amp;quot;) })
&lt;br&gt;public class User extends BaseObject {
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;@Type(type = &amp;quot;encryptedPassword&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp;@Column(name = &amp;quot;password&amp;quot;, nullable = false, length = 100, unique = false)
&lt;br&gt;&amp;nbsp; &amp;nbsp;private String password;
&lt;br&gt;...}
&lt;br&gt;&lt;br&gt;I have added jasypt.jar + jasypt-hibernate.jar to the classpath(using maven).
&lt;br&gt;&lt;br&gt;I also added the icu4j.jar to the classpath due to error when running.
&lt;br&gt;&lt;br&gt;I am trying to get a user from the database by unit test, without having &amp;nbsp;special
&lt;br&gt;configuration loading the jasypt spring beans.
&lt;br&gt;&lt;br&gt;Also i am not sure if i need a environment variable with a password with the given setup i have.
&lt;br&gt;&lt;br&gt;I have tried searching and googling the error without any help
&lt;br&gt;&lt;br&gt;But running the unit test gives me this error:
&lt;br&gt;org.jasypt.exceptions.EncryptionOperationNotPossibleException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:742)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:639)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.hibernate.type.AbstractEncryptedAsStringType.nullSafeGet(AbstractEncryptedAsStringType.java:144)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:105)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2092)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1371)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.getRow(Loader.java:1197)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:568)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.doQuery(Loader.java:689)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.doList(Loader.java:2211)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.Loader.list(Loader.java:2090)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:926)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:917)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.appfuse.dao.hibernate.UserDaoHibernate.getByUserName(UserDaoHibernate.java:72)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.appfuse.dao.BaseDaoTestCase.onSetUp(BaseDaoTestCase.java:113)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:103)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestCase.runBare(TestCase.java:132)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult$1.protect(TestResult.java:110)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult.runProtected(TestResult.java:128)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestResult.run(TestResult.java:113)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestCase.run(TestCase.java:124)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestSuite.runTest(TestSuite.java:232)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at junit.framework.TestSuite.run(TestSuite.java:227)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
&lt;br&gt;&lt;br&gt;Hope someone has an explanation...
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Cem</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Exception-in-unit-test-tp24919230s21332p24919230.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24895287</id>
	<title>Help : My data is not being encrypted</title>
	<published>2009-08-10T00:10:41Z</published>
	<updated>2009-08-10T00:10:41Z</updated>
	<author>
		<name>Tazz786</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;Hi. &lt;br&gt;&lt;br&gt;I have posted a topic, but now joined the mailing list, so am reposting it. I am trying to decrypt data in a MySQL database in a JBoss Seam and JSF application. What has been done thus far. I added the following jars in the application.xl file&lt;br&gt;
lib/jasypt-1.5.jar&lt;br&gt;lib/commons-lang-2.1.jar&lt;br&gt;lib/commons-codec-1.3.jar&lt;br&gt;lib/icu4j-3.4.4.jar&lt;br&gt;&lt;br&gt;The initializer class has also been added to the start up. The code as follows :&lt;br&gt;&lt;br&gt;import org.jasypt.encryption.pbe.StandardPBEStringEncryptor;&lt;br&gt;
import org.jasypt.encryption.pbe.config.EnvironmentPBEConfig;&lt;br&gt;import org.jasypt.hibernate.encryptor.HibernatePBEEncryptorRegistry;&lt;br&gt;import org.jboss.seam.annotations.Logger;&lt;br&gt;import &lt;a href=&quot;http://org.jboss.seam.annotations.Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.jboss.seam.annotations.Name&lt;/a&gt;;&lt;br&gt;
import org.jboss.seam.annotations.Observer;&lt;br&gt;import org.jboss.seam.log.Log;&lt;br&gt;&lt;br&gt;@Name(&amp;quot;initializer&amp;quot;)&lt;br&gt;public class Initializer {&lt;br&gt;&lt;br&gt;     @Logger Log log;&lt;br&gt;     &lt;br&gt;     @Observer(&amp;quot;org.jboss.seam.postInitialization&amp;quot;)&lt;br&gt;
     public void initializeJasypt() {&lt;br&gt;     try {&lt;br&gt;             &lt;a href=&quot;http://log.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;log.info&lt;/a&gt;(&amp;quot;Initializing Jasypt String Encryptor&amp;quot;);       &lt;br&gt;             StandardPBEStringEncryptor strongEncryptor = &lt;br&gt;
                 new StandardPBEStringEncryptor();&lt;br&gt;             EnvironmentPBEConfig config = new EnvironmentPBEConfig();&lt;br&gt;             config.setPasswordEnvName(&amp;quot;jasypt_password&amp;quot;);&lt;br&gt;             strongEncryptor.setConfig(config);&lt;br&gt;
             HibernatePBEEncryptorRegistry registry = &lt;br&gt;                 HibernatePBEEncryptorRegistry.getInstance();&lt;br&gt;             registry.registerPBEStringEncryptor(&amp;quot;myHibernateStringEncryptor&amp;quot;, strongEncryptor);&lt;br&gt;
     } catch (Exception e) {&lt;br&gt;        e.printStackTrace();&lt;br&gt;    }&lt;br&gt;&lt;br&gt;        }&lt;br&gt;}&lt;br&gt;&lt;br&gt;And in my entity, just to test, I have done on one field (usually the requirement would be to encrypt the whole database)&lt;br&gt;
&lt;br&gt;@TypeDef(&lt;br&gt;        name=&amp;quot;encryptedString&amp;quot;, &lt;br&gt;        typeClass=EncryptedStringType.class, &lt;br&gt;        parameters={@Parameter(name=&amp;quot;encryptorRegisteredName&amp;quot;,&lt;br&gt;                               value=&amp;quot;myHibernateStringEncryptor&amp;quot;)}&lt;br&gt;
    )&lt;br&gt;&lt;br&gt;@NotNull(message=&amp;quot;Name is required&amp;quot;)&lt;br&gt;    @Length(min=2, max=45, message=&amp;quot;Name must be 2 to 45 characters long&amp;quot;)&lt;br&gt;    @Column(name=&amp;quot;name&amp;quot;)&lt;br&gt;    @Type(type=&amp;quot;encryptedString&amp;quot;)  &lt;br&gt;
    public String getName() {&lt;br&gt;        return name;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;I put the following in the run.sh of jboss.&lt;br&gt;# export jasypt_password=&amp;quot;mysecretpassword&amp;quot; &lt;br&gt;&lt;br&gt;since I am starting jboss up using the eclipse &amp;quot;Server&amp;quot;.&lt;br&gt;
&lt;br&gt;I have deleted all the data in the entity mentioned above. When I create the entry in the database, the field is not encrypted.&lt;br&gt;&lt;br&gt;any help with this would be highly appreciated.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with 
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24895287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-%3A-My-data-is-not-being-encrypted-tp24895287s21332p24895287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24730417</id>
	<title>How to search on encrypted field if encrypted using fixed salt generator</title>
	<published>2009-07-29T17:32:12Z</published>
	<updated>2009-07-29T17:32:12Z</updated>
	<author>
		<name>shafran</name>
	</author>
	<content type="html">hi everyone,
&lt;br&gt;&lt;br&gt;i've seen postings saying that the only way you can search on an encrypted field is if you use a fixed salt generator. &amp;nbsp;i've configured everything correctly (as far as i can tell) using jayspt and hibernate. &amp;nbsp;i've confirmed that i can create records with the encrypted field and believe that the fixed salt generator is working because i created multiple records with the same value and the encrypted string value is the same.
&lt;br&gt;&lt;br&gt;my problem is searching via the hibernate query language. &amp;nbsp;i tried searching on using the unencrypted value and keep getting 0 results. &amp;nbsp;so my question is, now that i've used the fixed salt generator, what does my hibernate query have to look like in order to search on the encrypted field??
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;-s</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-search-on-encrypted-field-if-encrypted-using-fixed-salt-generator-tp24730417s21332p24730417.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24666034</id>
	<title>Re: Password length with BouncyCastle AES</title>
	<published>2009-07-26T03:21:16Z</published>
	<updated>2009-07-26T03:21:16Z</updated>
	<author>
		<name>Shervin Asgari-3</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;subversion wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; +------------------------+
&lt;br&gt;&amp;gt; &amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;&amp;gt; +------------------------+
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have same problem too. System was complaining that the java virtual machine
&lt;br&gt;&amp;gt; does not have unlimited JCE policy but I do have installed the policy.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any clue?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;I remember many years ago while I was using BouncyCastle that you needed 
&lt;br&gt;to edit the policy file found in your $JAVA_HOME folder and set the 
&lt;br&gt;policy to be &amp;quot;unlimited&amp;quot;. I am sure you can find more information on 
&lt;br&gt;exactly how you can do this by googling abit. I cannot remember from the 
&lt;br&gt;top of my head.
&lt;br&gt;&lt;br&gt;Shervin
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24666034&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Password-length-with-BouncyCastle-AES-tp20790335s21332p24666034.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24648624</id>
	<title>Re: Password length with BouncyCastle AES</title>
	<published>2009-07-24T10:29:23Z</published>
	<updated>2009-07-24T10:29:23Z</updated>
	<author>
		<name>subversion</name>
	</author>
	<content type="html">I have same problem too. System was complaining that the java virtual machine does not have unlimited JCE policy but I do have installed the policy.
&lt;br&gt;&lt;br&gt;Any clue?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;MakkaPakka wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I'm trying to use Jasypt with Bouncy Castle AES and want to clarify what size password I should/can use.
&lt;br&gt;&lt;br&gt;I've looked at StandardPBEByteEncyptor and it does PBEKeySpec pbeKeySpec = new PBEKeySpec(this.password.toCharArray()) so I would assume I can use any length password.
&lt;br&gt;&lt;br&gt;However, anything greater than 7 chars doesn't work.
&lt;br&gt;&lt;br&gt;Here's the tester code.....
&lt;br&gt;&lt;br&gt;private static final void determinePasswordLength() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Security.addProvider(new BouncyCastleProvider());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final StringBuilder sb = new StringBuilder();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; 1000; ++i) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sb.append(i);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encryptor.setAlgorithm(&amp;quot;PBEWITHSHA256AND128BITAES-CBC-BC&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encryptor.setPassword(sb.toString());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encryptor.encrypt(&amp;quot;stuff&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(sb + &amp;quot; works&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (final EncryptionOperationNotPossibleException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // System.out.println(sb + &amp;quot; fails&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;So I'm guessing there's something I don't understand somewhere, is it to do with the use of SHA? I've tried SHA and SHA256 and I still get the same result.
&lt;br&gt;&lt;br&gt;More importantly, how secure is this? I would generally expect to be able to use longer passwords so as to increase the entropy.
&lt;br&gt;&lt;br&gt;Thanks for any help you can give.
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Password-length-with-BouncyCastle-AES-tp20790335s21332p24648624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24628800</id>
	<title>Re: hibernate and jasypt: password is saved?</title>
	<published>2009-07-23T08:47:40Z</published>
	<updated>2009-07-23T08:47:40Z</updated>
	<author>
		<name>bubenik</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;Hi, 
&lt;br&gt;&lt;br&gt;There are several options: 
&lt;br&gt;- provide encryption pwd in properties file (readable for all)
&lt;br&gt;- provide encryption pwd as system property: than you have it somewhere in the start scripts of your application, again readable for all
&lt;br&gt;- provide encryption pwd in class file: You may think of providing an implementation of org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig 
&lt;br&gt;- provide encryption pwd in java keystore: not perfect but pretty good choice
&lt;br&gt;- manual input on startup: probably most secure but than you cannot start your app server automatically
&lt;br&gt;&lt;br&gt;What to do is an endless debate and depends strongly on your requirenments - as allways. See for example this page (&lt;a href=&quot;http://www.j2eegeek.com/blog/2005/08/22/are-clear-text-passwords-better-than-2-way-encrypted-passwords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.j2eegeek.com/blog/2005/08/22/are-clear-text-passwords-better-than-2-way-encrypted-passwords/&lt;/a&gt;) for a snipet of this discussion. 
&lt;br&gt;&lt;br&gt;Hope this helps
&lt;br&gt;&lt;br&gt;Greetings Wolf
&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: GhostPa [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24628800&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peppe.fabio@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Donnerstag, 23. Juli 2009 15:53
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24628800&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;Betreff: [jasypt-users] hibernate and jasypt: password is saved?
&lt;br&gt;&lt;br&gt;+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br&gt;Hi All,
&lt;br&gt;I am newbie of jasypt.
&lt;br&gt;I Have a question.
&lt;br&gt;It 's need to store password used for crypting method in my web application
&lt;br&gt;or user juat insert password in runtime?
&lt;br&gt;Thanks all.
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24626193.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24626193.html&lt;/a&gt;&lt;br&gt;Sent from the Jasypt - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24628800&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24628800&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24628800.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24628561</id>
	<title>Re: data recovery if password lost</title>
	<published>2009-07-23T08:36:31Z</published>
	<updated>2009-07-23T08:36:31Z</updated>
	<author>
		<name>subversion</name>
	</author>
	<content type="html">Yes, you do if you can hack password or if you are using weak algorithm e.g. DES.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;GhostPa wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi All,
&lt;br&gt;if user lost password for crypt It's possible to recovery data?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/data-recovery-if-password-lost-tp24626153s21332p24628561.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24628517</id>
	<title>Re: hibernate and jasypt: password is saved?</title>
	<published>2009-07-23T08:34:47Z</published>
	<updated>2009-07-23T08:34:47Z</updated>
	<author>
		<name>subversion</name>
	</author>
	<content type="html">Good question. You have to provide a password anyway in your application, either hardcode in the app source or read from a keystore protected by another password.
&lt;br&gt;&lt;br&gt;How to make passwork to keystore safe is another question.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;GhostPa wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi All,
&lt;br&gt;I am newbie of jasypt.
&lt;br&gt;I Have a question.
&lt;br&gt;It 's need to store password used for crypting method in my web application or user juat insert password in runtime?
&lt;br&gt;Thanks all.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24628517.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24628500</id>
	<title>Re: hibernate and jasypt: password is saved?</title>
	<published>2009-07-23T08:34:21Z</published>
	<updated>2009-07-23T08:34:21Z</updated>
	<author>
		<name>subversion</name>
	</author>
	<content type="html">Good question. You have to provide a password anyway in your application, either hardcode in the app source or read from a keystore protected by another password.
&lt;br&gt;&lt;br&gt;How to make passwork to keystore safe is another question.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;GhostPa wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi All,
&lt;br&gt;I am newbie of jasypt.
&lt;br&gt;I Have a question.
&lt;br&gt;It 's need to store password used for crypting method in my web application or user juat insert password in runtime?
&lt;br&gt;Thanks all.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24628500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24626193</id>
	<title>hibernate and jasypt: password is saved?</title>
	<published>2009-07-23T06:52:33Z</published>
	<updated>2009-07-23T06:52:33Z</updated>
	<author>
		<name>GhostPa</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;I am newbie of jasypt.
&lt;br&gt;I Have a question.
&lt;br&gt;It 's need to store password used for crypting method in my web application or user juat insert password in runtime?
&lt;br&gt;Thanks all.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hibernate-and-jasypt%3A-password-is-saved--tp24626193s21332p24626193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24626153</id>
	<title>data recovery if password lost</title>
	<published>2009-07-23T06:50:08Z</published>
	<updated>2009-07-23T06:50:08Z</updated>
	<author>
		<name>GhostPa</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;if user lost password for crypt It's possible to recovery data?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/data-recovery-if-password-lost-tp24626153s21332p24626153.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24539431</id>
	<title>CLI encryption using FixedStringSaltGenerator</title>
	<published>2009-07-17T11:06:41Z</published>
	<updated>2009-07-17T11:06:41Z</updated>
	<author>
		<name>keeleyt83</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br /&gt;&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=Arial color=#000000 size=2&gt;Hi all,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I've decided to use the FixedStringSaltGenerator&amp;nbsp;for my encryptor but I have preexisting data in the columns to be encrypted. I was going to encrypt that data via the command line (like I had done previously, with the default salt generator) but I can't seem to get the sytax correct. Below is the data from my command window:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;-----------------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;C:\dev\jasypt-1.5\bin&amp;gt; encrypt input=mydatatoencrypt password=mypassword verbose=true algorithm=PBEWithMD5AndDES keyObtentionIterations=1000 saltGeneratorClassName=org.jasypt.salt.FixedStringSaltGenerator&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;----ENVIRONMENT-----------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 14.0-b16 &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;----ARGUMENTS-------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;verbose: true&lt;BR&gt;algorithm: PBEWithMD5AndDES&lt;BR&gt;input: mydatatoencrypt&lt;BR&gt;password: mypassword&lt;BR&gt;keyObtentionIterations: 1000&lt;BR&gt;saltGeneratorClassName: org.jasypt.salt.FixedStringSaltGenerator&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;----ERROR-----------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Operation not possible (Bad input or parameters)&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;-----------------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I believe I probably have to set the salt value for the fixed string salt generator, but I'm not sure how to specify this on the command line. Can anybody help? Thanks in advance.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;AK&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;
&lt;HR&gt;
&lt;FONT color=#000000&gt;NCI is a company dedicated to trust, integrity, and 
performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;If you have received this message in error, please 
contact the sender immediately and be aware that the use, copying, or 
dissemination of this information is prohibited. This email transmission 
contains information from NCI Information Systems, Inc. that may be considered 
privileged or confidential and is intended solely for the named 
recipient.&lt;/FONT&gt; 
&lt;HR&gt;

&lt;P&gt;&lt;/P&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Enter the BlackBerry Developer Challenge &amp;nbsp;
&lt;br&gt;This is your chance to win up to $100,000 in prizes! For a limited time, 
&lt;br&gt;vendors submitting new applications to BlackBerry App World(TM) will have
&lt;br&gt;the opportunity to enter the BlackBerry Developer Challenge. See full prize &amp;nbsp;
&lt;br&gt;details at: &lt;a href=&quot;http://p.sf.net/sfu/Challenge&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/Challenge&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24539431&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CLI-encryption-using-FixedStringSaltGenerator-tp24539431s21332p24539431.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24512091</id>
	<title>Re: StrongTextEncryptor throws EncryptionNotPossibleException</title>
	<published>2009-07-16T00:46:23Z</published>
	<updated>2009-07-16T00:46:23Z</updated>
	<author>
		<name>bubenik</name>
	</author>
	<content type="html">+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;To my knowledge you need the JCE for unlimeted encryption strength. 
&lt;br&gt;&lt;br&gt;Regards 
&lt;br&gt;wolf 
&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: TNS [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24512091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tsubramaniam@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Mittwoch, 8. Juli 2009 18:02
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24512091&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;Betreff: [jasypt-users] StrongTextEncryptor throws EncryptionNotPossibleException
&lt;br&gt;&lt;br&gt;+------------------------+
&lt;br&gt;&amp;nbsp; Jasypt Users List &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.jasypt.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jasypt.org&lt;/a&gt;&amp;nbsp; 
&lt;br&gt;+------------------------+
&lt;br&gt;&lt;br&gt;I am using StrongTextEncryptor and it throws a
&lt;br&gt;EncryptionNotPossibleException. It works with BasicTextEncryptor. I am using
&lt;br&gt;the default JCE with JDK 1.4.2. Is PBEwithMD5andTripleDES not supported by
&lt;br&gt;the default JCE? Would appreciate a clarification. Thanks in advance.
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/StrongTextEncryptor-throws-EncryptionNotPossibleException-tp24393264s21332p24393264.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/StrongTextEncryptor-throws-EncryptionNotPossibleException-tp24393264s21332p24393264.html&lt;/a&gt;&lt;br&gt;Sent from the Jasypt - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Enter the BlackBerry Developer Challenge &amp;nbsp;
&lt;br&gt;This is your chance to win up to $100,000 in prizes! For a limited time, 
&lt;br&gt;vendors submitting new applications to BlackBerry App World(TM) will have
&lt;br&gt;the opportunity to enter the BlackBerry Developer Challenge. See full prize &amp;nbsp;
&lt;br&gt;details at: &lt;a href=&quot;http://p.sf.net/sfu/Challenge&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/Challenge&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24512091&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Enter the BlackBerry Developer Challenge &amp;nbsp;
&lt;br&gt;This is your chance to win up to $100,000 in prizes! For a limited time, 
&lt;br&gt;vendors submitting new applications to BlackBerry App World(TM) will have
&lt;br&gt;the opportunity to enter the BlackBerry Developer Challenge. See full prize &amp;nbsp;
&lt;br&gt;details at: &lt;a href=&quot;http://p.sf.net/sfu/Challenge&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/Challenge&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;jasypt-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24512091&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jasypt-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/jasypt-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/jasypt-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/StrongTextEncryptor-throws-EncryptionNotPossibleException-tp24393264s21332p24512091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24507096</id>
	<title>Re: BasicTextEncryptor() pattern develops in resulting strings after many encryptions, even from different instances</title>
	<published>2009-07-15T15:27:50Z</published>
	<updated>2009-07-15T15:27:50Z</updated>
	<author>
		<name>borfnorton</name>
	</author>
	<content type="html">Note that if I slow the loop down and sleep 100ms between each call to encrypt(), this pattern goes away, leading me to believe something internally is based on the current time? Please explain, is this still fairly secure to use?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;borfnorton wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;If you can run the above, the output towards the end of your console will have data that looks something like this: See the pattern per iteration? Each &amp;quot;block of 3&amp;quot; encryptions per unique password starts to develop the same prefix of characters. Why is this? Is it still secure, should we use something else?
&lt;br&gt;&lt;br&gt;qHzOB11vmOSjj/diZRM73A==
&lt;br&gt;qHzOB11vmOT1iZkYh4wPrQ==
&lt;br&gt;qHzOB11vmOSoB+YmwPXdJA==
&lt;br&gt;QrqvW2s9ZEAN/GGWyrgmVQ==
&lt;br&gt;QrqvW2s9ZECfLddQ3mgD2g==
&lt;br&gt;QrqvW2s9ZEBD04lhsuYQTw==
&lt;br&gt;8La/KX1jNIR3nV6n+Lo72g==
&lt;br&gt;8La/KX1jNITaEQvP2bdHkA==
&lt;br&gt;8La/KX1jNIQRIVE9LglYwg==
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BasicTextEncryptor%28%29-pattern-develops-in-resulting-strings-after-many-encryptions%2C-even-from-different-instances-tp24506674s21332p24507096.html" />
</entry>

</feed>
