You can use transformation language encoding functions to encrypt storage tables. You need to encrypt storage tables when you have enabled storage encryption.
Create a mapping with the IDM_EXPRESSION_STORAGE storage table as source.
Create a Data Masking transformation.
Apply the expression masking technique on the masked value ports.
Use the following expression on the MASKEDVALUE port: