37383940414243
public DigesterPasswordEncoder(final DigestType type) { super(); Assert.notNull(type, "type"); Digester basic = new BasicDigester(type); Digester base64 = new Base64Digester(basic); this.digester = new AsStringDigester(base64); }
51525354555657
if (encodingType == EncodingType.HEX) { encoded = new HexDigester(basic); } else { encoded = new Base64Digester(basic); } this.digester = new AsStringDigester(encoded); }
30313233343536
34353637383940