decrypted_code = decrypt_source_protection(encrypted_code, decryption_key) print(decrypted_code)
— Where available, migrate from Source Key protection (which stores unencrypted keys) to CodeMeter-based License Protection with hardware tokens (CmStick/CmCard) rslogix 5000 source protection decryption tool