[TIMOB-17946]: Refactor assetCrypt