I've got two databases - Oracle 11g and SQL Server 2016. The Oracle database has a table that is being decrypted using the following: DBMS_CRYPTO.DECRYPT ( src => UTL_I18N.STRING_TO_RAW (in_text, 'AL32UTF8'), typ => encryption_type, key => key_bytes_raw ) Where 'encryption_type is defined as: encryption_type PLS_INTEGER := DBMS_CRYPTO.ENCRYPT_DES + DBMS_CRYPTO.CHAIN_CBC + DBMS_CRYPTO.PAD_PKCS5; I am trying to convert this Oracle code so that it can be used in SQL Server 2016. Any thoughts on how to convert the code? I am a newbie to SQL Server and have been looking through the Microsoft site for tips, but am confused. Thanks!