<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-21332</id>
	<title>Nabble - Jasypt</title>
	<updated>2009-12-10T17:56:05Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Jasypt-f21332.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jasypt-f21332.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;is a java library which allows the developer to add basic encryption capabilities to his/her projects with minimum effort, and without the need of having deep knowledge on how cryptography works.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26737580</id>
	<title>Re: can't query encrypted hibernate field</title>
	<published>2009-12-10T17:56:05Z</published>
	<updated>2009-12-10T17:56:05Z</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;Allan or anybody else,
&lt;br&gt;&lt;br&gt;I actually ran into the problem that you describe below just now.
&lt;br&gt;However, there is one twist - I was hoping to get around the problem
&lt;br&gt;by using a fixed salt instead of a random salt. This is still a
&lt;br&gt;security improvement over storing it in plaintext (especially for my
&lt;br&gt;particular needs), yet, I hoped, would still allow me to use the field
&lt;br&gt;in a WHERE clause.
&lt;br&gt;&lt;br&gt;I'm working with Hibernate, so I'm declaring the encryption in my
&lt;br&gt;Hibernate mapping file, and using a registered encryptor with a fixed
&lt;br&gt;salt that I set up in my startup listener.
&lt;br&gt;&lt;br&gt;The problem I've come across though is that when I try to construct a
&lt;br&gt;HQL query like:
&lt;br&gt;......createQuery(&amp;quot;from MyObject where encryptedField = :VAL&amp;quot;);
&lt;br&gt;I can't set VAL to be equal to the plaintext that I'm searching for...
&lt;br&gt;because it will keep the plaintext and search for matches on the
&lt;br&gt;encrypted text, which of course it won't find.
&lt;br&gt;&lt;br&gt;Is there any easy way to configure the mapping to enable searches like
&lt;br&gt;this (either by decrypting encryptedField first, or encrypting :VAL
&lt;br&gt;first every time)? Or do I need to programmatically encrypt the
&lt;br&gt;plaintext value every time, before plugging it into HQL queries like
&lt;br&gt;this?
&lt;br&gt;&lt;br&gt;Thanks for any pointers!
&lt;br&gt;Stephen
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 5:47 AM, Allan Lang &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26737580&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lang.allan@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&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;
&lt;br&gt;&amp;gt; As per &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;&amp;nbsp;note that you cannot search on
&lt;br&gt;&amp;gt; an encrypted field:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;...encryption sets a limitation on your Hibernate usage: security standards
&lt;br&gt;&amp;gt; establish that two different encryption operations on the same data should
&lt;br&gt;&amp;gt; not return the same value (due to the use of a random salt). Because of
&lt;br&gt;&amp;gt; this, none of the fields that are set to be encrypted when persisted can be
&lt;br&gt;&amp;gt; a part of a WHERE clause in your search queries for the entity they belong
&lt;br&gt;&amp;gt; to.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You probably need to drop the password from the WHERE clause, and instead
&lt;br&gt;&amp;gt; apply checkPassword() of BasicPasswordEncryptor (or similar) to the result
&lt;br&gt;&amp;gt; row(s?) which are returned.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope this helps,
&lt;br&gt;&amp;gt; Allan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; offbyone wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am using spring 2.5 + hibernate 3.  I am trying to encrypt my user
&lt;br&gt;&amp;gt;&amp;gt; password field.  I set up an encryptor in spring as such:
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;bean id=&amp;quot;hibernateStringEncryptor&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; class=&amp;quot;org.jasypt.hibernate.encryptor.HibernatePBEStringEncryptor&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;property name=&amp;quot;registeredName&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;             &amp;lt;value&amp;gt;strongHibernateStringEncryptor&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;property name=&amp;quot;algorithm&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;             &amp;lt;value&amp;gt;PBEWithMD5AndTripleDES&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;property name=&amp;quot;password&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;             &amp;lt;value&amp;gt;mypassword&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;       &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In my user class mapping I have the following:
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;hibernate-mapping auto-import=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;typedef name=&amp;quot;encryptedString&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; class=&amp;quot;org.jasypt.hibernate.type.EncryptedStringType&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;        strongHibernateStringEncryptor
&lt;br&gt;&amp;gt;&amp;gt;      &amp;lt;/typedef&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; .
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;class name=&amp;quot;User&amp;quot; table=&amp;quot;USERS&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;id access=&amp;quot;field&amp;quot; column=&amp;quot;id&amp;quot; name=&amp;quot;id&amp;quot; type=&amp;quot;int&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; unsaved-value=&amp;quot;-1&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;       &amp;lt;generator class=&amp;quot;sequence&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         SEQ_USERS
&lt;br&gt;&amp;gt;&amp;gt;       &amp;lt;/generator&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;/id&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;property column=&amp;quot;USERNAME&amp;quot; name=&amp;quot;username&amp;quot; not-null=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; type=&amp;quot;string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;property column=&amp;quot;PASSWORD&amp;quot; name=&amp;quot;password&amp;quot; not-null=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; type=&amp;quot;encryptedString&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When I create a new user, the password is properly encrypted.  I can also
&lt;br&gt;&amp;gt;&amp;gt; query users via load or through the object map and I tested that the
&lt;br&gt;&amp;gt;&amp;gt; password is being decrypted.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ***However, I can not query a user using the password field:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;             String query = &amp;quot;select user from User user where active=? and
&lt;br&gt;&amp;gt;&amp;gt; username=? and password=?&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;             List results =     getHibernateTemplate().find(query, new
&lt;br&gt;&amp;gt;&amp;gt; Object[]{true, userName, password});
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I get no results whenever I query using the encrypted field.  What am I
&lt;br&gt;&amp;gt;&amp;gt; doing wrong?
&lt;br&gt;&amp;gt;&amp;gt; thanks
&lt;br&gt;&amp;gt;&amp;gt; -ryan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/can%27t-query-encrypted-hibernate-field-tp24099606s21332p26572616.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/can%27t-query-encrypted-hibernate-field-tp24099606s21332p26572616.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Jasypt - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &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;&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=26737580&amp;i=1&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;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Return on Information:
&lt;br&gt;Google Enterprise Search pays you back
&lt;br&gt;Get the facts.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/google-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/google-dev2dev&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=26737580&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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-query-encrypted-hibernate-field-tp24099606s21332p26737580.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26622180</id>
	<title>Re: Spring Security 3.x / Patch</title>
	<published>2009-12-02T23:54:37Z</published>
	<updated>2009-12-02T23:54:37Z</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;If everything goes well, that will be next week.&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 Thu, Dec 3, 2009 at 2:41 AM, SubaruWRC &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26622180&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryan.lamothe@...&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;br&gt;
&lt;/div&gt;Do you have an expected release date?&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
dfernandez wrote:&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;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&amp;gt; Is anyone listening on this user forum to put out an updated release of&lt;br&gt;
&amp;gt;&amp;gt; JASYPT???&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Of course there is. Jasypt will include support for Spring Security 3.0 in&lt;br&gt;
&amp;gt; its next release. You can expect it to be published in a few weeks.&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;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;&amp;gt; ------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008&lt;br&gt;
&amp;gt; 30-Day&lt;br&gt;
&amp;gt; trial. Simplify your report design, integration and deployment - and focus&lt;br&gt;
&amp;gt; on&lt;br&gt;
&amp;gt; what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&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=26622180&amp;i=1&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;/div&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26619721.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26619721.html&lt;/a&gt;&lt;br&gt;

&lt;div class=&quot;im&quot;&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;/div&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&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=26622180&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;_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;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&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=26622180&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26622180.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26619721</id>
	<title>Re: Spring Security 3.x / Patch</title>
	<published>2009-12-02T17:41:19Z</published>
	<updated>2009-12-02T17:41:19Z</updated>
	<author>
		<name>SubaruWRC</name>
	</author>
	<content type="html">Do you have an expected release date?
&lt;br&gt;&lt;br&gt;Thanks.
&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;dfernandez wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&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;Is anyone listening on this user forum to put out an updated release of
&lt;br&gt;&amp;gt; JASYPT???
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Of course there is. Jasypt will include support for Spring Security 3.0 in
&lt;br&gt;its next release. You can expect it to be published in a few weeks.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Daniel.
&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;jasypt-users@lists.sourceforge.net
&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;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26619721.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26600598</id>
	<title>HELP! Portability of text encrypted with BasicTextEncryptor</title>
	<published>2009-12-01T14:57:17Z</published>
	<updated>2009-12-01T14:57:17Z</updated>
	<author>
		<name>baton22</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;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;Hi,&lt;br&gt;So I have a bunch of data that is encrypted using BasicTextEncryptor&lt;br&gt;&lt;br&gt;The data being encrypted is nothing special and the data is nothing out of the ordinary. Basic names etc ascii text. No odd characters etc.&lt;br&gt;&lt;br&gt;The passwords being used to encrypt the data are likewise, nothing special, no odd characters. &lt;br&gt;&lt;br&gt;All of this data has been encrypted on BOXA(win 2003, jre 1.6). When I move the data to BOXB(linux, jre 1.6), the data fails to decrypt. With the EncryptionOperationNotPossibleException&lt;br&gt;&lt;br&gt;Its frustrating because I am literally typing in a password like (straight into java code):&lt;br&gt;&lt;br&gt;a0f4fhej34f&amp;nbsp; which should decrypt a string that was outputted from BasicTextEncryptor that I am copy pasting in to the decrypt method and I get this exception.&lt;br&gt;&lt;br&gt;This is a major issue as I have to move this data to this new box, but the
 data seems to be bound to the machine that encrypted it???&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&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=26600598&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HELP%21-Portability-of-text-encrypted-with-BasicTextEncryptor-tp26600598s21332p26600598.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26596066</id>
	<title>How to use jasypt+spring+c3p0</title>
	<published>2009-12-01T08:05:28Z</published>
	<updated>2009-12-01T08:05:28Z</updated>
	<author>
		<name>red phoenix-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;&lt;br /&gt;I use spring+c3p0,I use jdbc.properties to configure database souce &lt;br&gt;jdbc.driverClassName=oracle.jdbc.OracleDriver &lt;br&gt;jdbc.url=jdbc:oracle:thin:@127.0.0.1:1521:test &lt;br&gt;jdbc.username=scott &lt;br&gt;jdbc.password=tiger &lt;br&gt;&lt;br&gt;
Now I want to use jasypt+spring+c3p0,but I don&amp;#39;t know how to configure it. How to do it? An example is better.&lt;br&gt;&lt;br&gt;Thanks 
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&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=26596066&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-use-jasypt%2Bspring%2Bc3p0-tp26596066s21332p26596066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26596113</id>
	<title>Operation not possible (Bad input or parameters)</title>
	<published>2009-12-01T08:03:42Z</published>
	<updated>2009-12-01T08:03:42Z</updated>
	<author>
		<name>red phoenix-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;&lt;br /&gt;&lt;div id=&quot;nabble.msgtxt26593736&quot; class=&quot;message-text&quot;&gt;I use following command,like follows: &lt;br&gt;C:\jasypt-1.5\bin&amp;gt;encrypt input=test algorithm=PBEWithMD5AndTripleDES password=mypassword &lt;br&gt;&lt;br&gt;but it raise following error: &lt;br&gt;
&lt;br&gt;----ENVIRONMENT----------------- &lt;br&gt;&lt;br&gt;Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 11.0-b15 &lt;br&gt;&lt;br&gt;----ARGUMENTS------------------- &lt;br&gt;&lt;br&gt;algorithm: PBEWithMD5AndTripleDES &lt;br&gt;input: test &lt;br&gt;password: mypassword &lt;br&gt;
&lt;br&gt;----ERROR----------------------- &lt;br&gt;&lt;br&gt;Operation not possible (Bad input or parameters) &lt;br&gt;&lt;br&gt;My JDK is 1.6.0, I read from this forum, TripleDES requires the unlimited strength jurisdiction policy files,I find JDK1.6 has include files local_policy.jar and US_export_policy.jar under &amp;lt;java_home&amp;gt;/jre/lib/security directory, where is wrong above error? How to do it? &lt;br&gt;
&lt;br&gt;Thanks&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&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=26596113&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Operation-not-possible-%28Bad-input-or-parameters%29-tp26596113s21332p26596113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26593821</id>
	<title>How to use jasypt+spring+c3p0</title>
	<published>2009-12-01T07:37:52Z</published>
	<updated>2009-12-01T07:37:52Z</updated>
	<author>
		<name>rodphoenix</name>
	</author>
	<content type="html">I use spring+c3p0,I use jdbc.properties to configure database souce
&lt;br&gt;jdbc.driverClassName=oracle.jdbc.OracleDriver
&lt;br&gt;jdbc.url=jdbc:oracle:thin:@127.0.0.1:1521:test
&lt;br&gt;jdbc.username=scott
&lt;br&gt;jdbc.password=tiger
&lt;br&gt;&lt;br&gt;Now I want to use jasypt+spring+c3p0,but I don't know how to configure it. How to do it?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-use-jasypt%2Bspring%2Bc3p0-tp26593821s21332p26593821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572616</id>
	<title>Re: can't query encrypted hibernate field</title>
	<published>2009-11-30T02:46:58Z</published>
	<updated>2009-11-30T02:46:58Z</updated>
	<author>
		<name>Allan Lang</name>
	</author>
	<content type="html">As per &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;&amp;nbsp;note that you cannot search on an encrypted field:
&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;...encryption sets a limitation on your Hibernate usage: security standards establish that two different encryption operations on the same data should not return the same value (due to the use of a random salt). Because of this, none of the fields that are set to be encrypted when persisted can be a part of a WHERE clause in your search queries for the entity they belong to.&amp;quot;&lt;/i&gt;&lt;br&gt;&lt;br&gt;You probably need to drop the password from the WHERE clause, and instead apply checkPassword() of BasicPasswordEncryptor (or similar) to the result row(s?) which are returned.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;Allan
&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;offbyone wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I am using spring 2.5 + hibernate 3. &amp;nbsp;I am trying to encrypt my user password field. &amp;nbsp;I set up an encryptor in spring as such:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;hibernateStringEncryptor&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasypt.hibernate.encryptor.HibernatePBEStringEncryptor&amp;quot;&amp;gt;
&lt;br&gt;&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;lt;value&amp;gt;strongHibernateStringEncryptor&amp;lt;/value&amp;gt;
&lt;br&gt;&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;lt;property name=&amp;quot;algorithm&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &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;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &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;lt;value&amp;gt;mypassword&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;In my user class mapping I have the following:
&lt;br&gt;&amp;lt;hibernate-mapping auto-import=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;typedef name=&amp;quot;encryptedString&amp;quot; class=&amp;quot;org.jasypt.hibernate.type.EncryptedStringType&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;param name=&quot;encryptorRegisteredName&quot;&gt;strongHibernateStringEncryptor&lt;/param&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/typedef&amp;gt;
&lt;br&gt;.
&lt;br&gt;&amp;lt;class name=&amp;quot;User&amp;quot; table=&amp;quot;USERS&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;id access=&amp;quot;field&amp;quot; column=&amp;quot;id&amp;quot; name=&amp;quot;id&amp;quot; type=&amp;quot;int&amp;quot; unsaved-value=&amp;quot;-1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;generator class=&amp;quot;sequence&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;sequence&quot;&gt;SEQ_USERS&lt;/param&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/generator&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/id&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;property column=&amp;quot;USERNAME&amp;quot; name=&amp;quot;username&amp;quot; not-null=&amp;quot;true&amp;quot; type=&amp;quot;string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;property column=&amp;quot;PASSWORD&amp;quot; name=&amp;quot;password&amp;quot; not-null=&amp;quot;true&amp;quot; type=&amp;quot;encryptedString&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;When I create a new user, the password is properly encrypted. &amp;nbsp;I can also query users via load or through the object map and I tested that the password is being decrypted. 
&lt;br&gt;&lt;br&gt;***However, I can not query a user using the password field:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String query = &amp;quot;select user from User user where active=? and username=? and password=?&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List results = &amp;nbsp; &amp;nbsp; getHibernateTemplate().find(query, new Object[]{true, userName, password});
&lt;br&gt;&lt;br&gt;I get no results whenever I query using the encrypted field. &amp;nbsp;What am I doing wrong?
&lt;br&gt;thanks
&lt;br&gt;-ryan
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-query-encrypted-hibernate-field-tp24099606s21332p26572616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572211</id>
	<title>Re: Jasypt + Hibernate3 integration + decrypt</title>
	<published>2009-11-30T02:15:21Z</published>
	<updated>2009-11-30T02:15:21Z</updated>
	<author>
		<name>Allan Lang</name>
	</author>
	<content type="html">I've also recently hit the &amp;quot;No string encryptor registered for hibernate...&amp;quot; error and I'm also using Spring. The solution I found to the intermittent initialisation problem was to make my data access components dependent on the strongHibernateStringEncryptor bean, thereby ensuring that bean was always present in the application context &lt;b&gt;before&lt;/b&gt;&amp;nbsp;any of my data access components might start to try doing anything requiring en/decryption. I think I hit the problem because another of the beans in my Spring definition performed some data access as part of the execution of its &lt;i&gt;init-method&lt;/i&gt;, and I guess there is no guarantee that this is called after all other beans have been instantiated.
&lt;br&gt;&lt;br&gt;So anyway, long explanation, but simple solution. Try adding something like this, shown here on another bean which forms part of my data access infrastructure:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;transactionManager&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.springframework.orm.hibernate3.HibernateTransactionManager&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;depends-on=&amp;quot;hibernateStringEncryptor&amp;quot;&amp;gt;&lt;/b&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;sessionFactory&amp;quot; ref=&amp;quot;sessionFactory&amp;quot; /&amp;gt;
&lt;br&gt;&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; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &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;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;registeredName&amp;quot; value=&amp;quot;strongHibernateStringEncryptor&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;property name=&amp;quot;password&amp;quot; value=&amp;quot;...&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;Hope that helps.
&lt;br&gt;&lt;br&gt;Allan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;bornleo&quot;&gt;&lt;br&gt;You need to make an entry of strongHibernateStringEncryptor in your spring context i.e. applicationConext.xml in my case.
&lt;br&gt;&lt;br&gt;Something like this.
&lt;br&gt;&lt;br&gt;&amp;lt;bean id=&amp;quot;strongHibernateStringEncryptor&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasypt.encryption.pbe.StandardPBEStringEncryptor&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;algorithm&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;PBEWithMD5AndTripleDES&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;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;Hope this helps.
&lt;br&gt;&lt;br&gt;Leo.
&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;jmiranda wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Solved.
&lt;br&gt;&lt;br&gt;Everything works well doing some executions, I initialize Spring container (is a web app) 5 or 6 times and then... 
&lt;br&gt;&lt;br&gt;Caused by: org.jasypt.exceptions.EncryptionInitializationException: No string encryptor registered for hibernate with name &amp;quot;strongHibernateStringEncryptor&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.hibernate.type.AbstractEncryptedAsStringType.checkInitialization(AbstractEncryptedAsStringType.java:250)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.hibernate.type.AbstractEncryptedAsStringType.nullSafeGet(AbstractEncryptedAsStringType.java:142)
&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;&lt;br&gt;Any ideas?.
&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;jmiranda wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi!
&lt;br&gt;&lt;br&gt;I would like to encrypt some attributes of an entity in a transparent way when I persist it into database using Hibernate. I've followed the guide: &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;&amp;nbsp;and it works like a charm.
&lt;br&gt;&lt;br&gt;The problem is that when I want to get back the entity from database I would like to get the entity with all attributes decryted. I don't know if I am missing something important but I get the attributes encrypted.
&lt;br&gt;&lt;br&gt;I've followed all the steps of the guide. Any ideas?.
&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jasypt-%2B-Hibernate3-integration-%2B-decrypt-tp21817476s21332p26572211.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508179</id>
	<title>Re: Spring Security 3.x / Patch</title>
	<published>2009-11-24T22:39:14Z</published>
	<updated>2009-11-24T22:39:14Z</updated>
	<author>
		<name>Oliver.D</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;as a workaround just copy the PasswordEncoder source to a package in yout application ( org.jasypt.spring.security3 for example) an substitute the interface. So you don´t have to wait for the new release.
&lt;br&gt;@Daniel: Do you want the code of may sugested solution (common base class)?
&lt;br&gt;&lt;br&gt;Oliver
&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;dfernandez wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&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;Is anyone listening on this user forum to put out an updated release of
&lt;br&gt;&amp;gt; JASYPT???
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Of course there is. Jasypt will include support for Spring Security 3.0 in
&lt;br&gt;its next release. You can expect it to be published in a few weeks.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Daniel.
&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;jasypt-users@lists.sourceforge.net
&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;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26508179.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501996</id>
	<title>Re: Spring Security 3.x / Patch</title>
	<published>2009-11-24T11:33:49Z</published>
	<updated>2009-11-24T11:33:49Z</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;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&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;
Is anyone listening on this user forum to put out an updated release of&lt;br&gt;
JASYPT???&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;Of course there is. Jasypt will include support for Spring Security 3.0 in its next release. You can expect it to be published in a few weeks.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Daniel.&lt;br&gt;&lt;br&gt;&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=26501996&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26501996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499917</id>
	<title>Re: Spring Security 3.x / Patch</title>
	<published>2009-11-24T10:39:23Z</published>
	<updated>2009-11-24T10:39:23Z</updated>
	<author>
		<name>SubaruWRC</name>
	</author>
	<content type="html">I also need JASYPT to support Spring Security 3.0 ASAP. &amp;nbsp;The interface org.springframework.security.providers.encoding.PasswordEncoder needs to be updated to the most recent Spring Security 3.0 package names.
&lt;br&gt;&lt;br&gt;Is anyone listening on this user forum to put out an updated release of JASYPT???
&lt;br&gt;&amp;nbsp;
&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;Oliver.D wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;in Spring Security the PasswordEncoder interface was moved from org.springframework.security.providers.encoding.PasswordEncoder to org.springframework.security.authentication.encoding.PasswordEncoder. 
&lt;br&gt;To user the jasypt password encoder with spring security 3 the new interface should be implemented. Just copy the PasswordEncoder class in to a new package (org.jasypt.spring.security3 ?) an substitute the interface.
&lt;br&gt;A more elegant way would be to refactor the PasswordEncoder to a &amp;quot;BasePasswordEncoder&amp;quot;. Both PasswordEncoders a derived classe with differs only in the implemented interface. 
&lt;br&gt;&lt;br&gt;Oliver
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26499917.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454685</id>
	<title>SHA-1 SecretKeyFactory not available</title>
	<published>2009-11-21T01:50:52Z</published>
	<updated>2009-11-21T01:50:52Z</updated>
	<author>
		<name>imustafa</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I am trying to use the org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor with the following properties:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;algorithm=&amp;quot;SHA-1&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stringOutputType=&amp;quot;hexadecimal&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;keyObtentionIterations=&amp;quot;5000&amp;quot;
&lt;br&gt;&lt;br&gt;right before I issue the encrypt(&amp;quot;someText&amp;quot;), I set the password to some value.
&lt;br&gt;&lt;br&gt;Now, when I call the encrypt method, I get the exception with this error: SHA-1 SecretKeyFactory not available
&lt;br&gt;&lt;br&gt;I appreciate your help.
&lt;br&gt;&lt;br&gt;Here is the full exception:
&lt;br&gt;&lt;br&gt;Caused by: org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchAlgorithmException: SHA-1 SecretKeyFactory not available
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:597)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.initialize(StandardPBEStringEncryptor.java:488)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:541)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.service.LmxStringEncryptorHandler.encrypt(LmxStringEncryptorHandler.java:24)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.management.LicenseGenerator.generate(LicenseGenerator.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.management.LicenseGenerator.generate(LicenseGenerator.java:36)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.management.LicenseManager.generate(LicenseManager.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.controller.LicenseAvailabilityAdvisor.generateLicenses(LicenseAvailabilityAdvisor.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.controller.WithdrawLicController.handleBlackBerryWithdrawal(WithdrawLicController.java:256)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.controller.WithdrawLicController.onSubmit(WithdrawLicController.java:190)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.mvc.CancellableFormController.processFormSubmission(CancellableFormController.java:145)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.lm.lic.manager.controller.WithdrawLicController.handleRequestInternal(WithdrawLicController.java:106)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:148)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:824)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:769)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:613)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 33 more
&lt;br&gt;Caused by: java.security.NoSuchAlgorithmException: SHA-1 SecretKeyFactory not available
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.SecretKeyFactory.&amp;lt;init&amp;gt;(DashoA13*..)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:584)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 51 more
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SHA-1-SecretKeyFactory-not-available-tp26454685s21332p26454685.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26314345</id>
	<title>Spring Security 3.x / Patch</title>
	<published>2009-11-11T23:01:43Z</published>
	<updated>2009-11-11T23:01:43Z</updated>
	<author>
		<name>Oliver.D</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;in Spring Security the PasswordEncoder interface was moved from org.springframework.security.providers.encoding.PasswordEncoder to org.springframework.security.authentication.encoding.PasswordEncoder. 
&lt;br&gt;To user the jasypt password encoder with spring security 3 the new interface should be implemented. Just copy the PasswordEncoder class in to a new package (org.jasypt.spring.security3 ?) an substitute the interface.
&lt;br&gt;A more elegant way would be to refactor the PasswordEncoder to a &amp;quot;BasePasswordEncoder&amp;quot;. Both PasswordEncoders a derived classe with differs only in the implemented interface. 
&lt;br&gt;&lt;br&gt;Oliver&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spring-Security-3.x---Patch-tp26314345s21332p26314345.html" />
</entry>

<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;
&lt;div class=&quot;signature&quot;&gt;Rahul Somasunderam&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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).&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</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;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&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&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Jasypt---Users-f21330.html&quot; embed=&quot;fixTarget[21330]&quot; target=&quot;_top&quot; &gt;Jasypt - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-SOLVED--Encryption-using-command-line-tp24922436s21332p24922436.html" />
</entry>

</feed>
