Hi all,
We want to generate OTP by encrypting the OTP expiry date (eg: 14 days from now) generated in our code flow in Java. There will be secret keys which will be shared to the target system side to decrypt and validate against expiry date and accuracy of the OTP input by the user through another UI.
We want to store the script in IQService and send the OTP value via SMS. However, we could not think of a way of implementing it since the code is in Java. We are not sure if powershell is able to provide packages from dependency like javax.crypto.* for the encryption.
Is there another way we can make IQService read this Java code flow or suggested way to implement the generation of OTP?
Appreciate any input on this.