class RetryingEncryptionService {

  public EncryptedValue encrypt(final String value) throws Exception {

    LOGGER.info("Attempting encrypt");
    return retryOnErrorWithRemappedKey(() -> keySet.getActive().encrypt(value));
  }

  @Autowired public  RetryingEncryptionService(final EncryptionKeySet keySet);

}