title: Getting "org.jasypt.exceptions.EncryptionOperationNotPossibleException" when trying to login
body: <p>I'm using Jasypt 1.9.0, Spring 3.1.1.RELEASE, and Maven 3.0.3.  When I enter a username and password on my login page and submit, I get the following error …</p>
  
  <pre><code>org.jasypt.exceptions.EncryptionOperationNotPossibleException
      org.jasypt.digest.StandardByteDigester.matches(StandardByteDigester.java:1107)
      org.jasypt.digest.StandardStringDigester.matches(StandardStringDigester.java:1052)
      org.jasypt.util.password.ConfigurablePasswordEncryptor.checkPassword(ConfigurablePasswordEncryptor.java:252)
      org.jasypt.spring.security3.PasswordEncoder.isPasswordValid(PasswordEncoder.java:207)
      org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:64)
      org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:149)
      org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
      org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94)
      org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:194)
      org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
      org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
      org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
      org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  </code></pre>
  
  <p>Here is the Spring security I have setup</p>
  
  <pre><code>&lt;beans:bean id="bcProvider" class="org.bouncycastle.jce.provider.BouncyCastleProvider" /&gt;
  
  &lt;beans:bean id="jasyptPasswordEncryptor" class="org.jasypt.util.password.ConfigurablePasswordEncryptor"&gt;
      &lt;beans:property name="algorithm"&gt;
          &lt;beans:value&gt;SHA-256&lt;/beans:value&gt;
      &lt;/beans:property&gt;
      &lt;beans:property name="provider"&gt;
          &lt;beans:ref bean="bcProvider" /&gt;
      &lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;!-- This Spring Security-friendly PasswordEncoder implementation will --&gt;
  &lt;!-- wrap the PasswordEncryptor instance so that it can be used from --&gt;
  &lt;!-- the security framework. --&gt;
  &lt;beans:bean id="passwordEncoder" class="org.jasypt.spring.security3.PasswordEncoder"&gt;
      &lt;beans:property name="passwordEncryptor"&gt;
          &lt;beans:ref bean="jasyptPasswordEncryptor" /&gt;
      &lt;/beans:property&gt;
  &lt;/beans:bean&gt;
  
  &lt;authentication-manager alias="authenticationManager"
      id="authenticationManager"&gt;
      &lt;authentication-provider user-service-ref="sbdUserDetailsService"&gt;
          &lt;password-encoder ref="passwordEncoder" /&gt;
      &lt;/authentication-provider&gt;
  &lt;/authentication-manager&gt;
  </code></pre>
  
  <p>The Jasypt docs aren't very helpful and I don't know what else to check.  Grateful for any help here. - </p>