@Test
public void testOpenSslEncrypted()
        throws NoSuchAlgorithmException, IOException, NoSuchProviderException, FunctionalException {

    final byte[] encrypted = Files.readAllBytes(new File("src/test/resources/plain.enc").toPath());
    final SecretKeySpec secretKey = this.createSecretKeySpec(new File(SRC_TEST_RESOURCES_SECRET).getPath());
    final byte[] decrypted = new TestableEncService(secretKey).decrypt(encrypted);
    assertThat(new String(decrypted)).isEqualTo("hallo");
}