<commit_before>package com.appdirect.sdk.security.encryption.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.appdirect.sdk.security.encryption.service.AESEncryptionServiceImpl;
import com.appdirect.sdk.security.encryption.service.EncryptionService;

@Configuration
public class EncryptionConfiguration {
	@Bean
	public EncryptionService encryptionService() {
		return new AESEncryptionServiceImpl();
	}<commit_msg>PI-16960 Added serializer-deserializer to configuration<commit_after>package com.appdirect.sdk.security.encryption.configuration;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.appdirect.sdk.security.encryption.EncryptDeserialize;
import com.appdirect.sdk.security.encryption.EncryptSerialize;
import com.appdirect.sdk.security.encryption.service.EncryptionService;

@Configuration
public class EncryptionConfiguration {
	@Autowired
	private EncryptionService encryptionService;

	@Bean
	public EncryptDeserialize encryptDeserialize() {
		return new EncryptDeserialize(encryptionService);
	}
	
	@Bean
	public EncryptSerialize encryptSerialize() {
		return new EncryptSerialize(encryptionService);
	}
{'fraction_non_alphanumeric': 0.08086053412462908, 'fraction_numerical': 0.00370919881305638, 'mean_word_length': 7.703225806451613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1699850', 'n_tokens_mistral': 362, 'n_tokens_neox': 353, 'n_words': 61}