I have used this in order to call python code in the server, it calls bcrypt encryption in python.
Encriptar Set password = "password" Set tSC = ##class(EnsLib.JavaGateway.Service).RunCommandViaCPIPE("python -c 'import bcrypt; print(bcrypt.hashpw("_$c(34)_password_$c(34)_", bcrypt.gensalt(10)))'",.pDevice,.pOutput) Write pOutput,!Quit- Log in to post comments