@Override
protected String convertToString(final EncryptedType o) {
Crypter crypter = this.crypter;
byte[] bytes = o.getValue().getBytes();
byte[] dec = crypter.encrypt(bytes);
String text = new String(dec);
return text;
}
protected EncryptedType wrap(final String text) {