package Ġmix it . util Ċ Ċ import Ġmix it . Mix it Properties Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ /** Ċ Ġ* Ġ@ author ĠDev - M ind Ġ< gu illa ume @ dev - mind . fr > Ċ Ġ* Ġ@ since Ġ 1 5 / 1 0 / 1 7 . Ċ Ġ*/ Ċ @ Component Ċ class ĠCrypto grapher ( private Ġval Ġproperties : ĠMix it Properties ) Ġ{ ĊĊĠĠĠ Ġfun Ġencrypt ( value : ĠString ?): ĠString ? Ġ= Ġvalue ?. encrypt ( properties . aes . key , Ġproperties . aes . init vector ) ĊĊĠĠĠ Ġfun Ġdecrypt ( value : ĠString ?): ĠString ? Ġ= Ġvalue ?. decrypt ( properties . aes . key , Ġproperties . aes . init vector ) Ċ Ċ }