get encrypted password()
This function encrypts the password in parameter a by using the Authentication Service given in parameter b. The function takes the password, gives it to the Authentication Service for encryption and returns the encrypted result as the result of the function.
Note: The Authentication Service uses the algorithm AES-256 and the key (keystore) that was created initially when installing Lobster Integration. The same key is used by Lobster Integration to encrypt and decrypt the passwords and certificates in the partner administration.
Parameters
Parameter |
Description |
a |
The value to be encrypted. |
b |
(optional) The name of the Authentication Service. Default: "AuthenticationService". Note: For a standard installation of Lobster Integration, there is exactly one Authentication Service, which has the name "AuthenticationService". Parameter b can only contain the name of an actually existing Authentication Service. So as long as you do not use an installation that deviates from the standard, you can simply leave parameter b blank. |
Examples
Parameter a |
Parameter b |
Result |
hello |
|
83gxAzS47sCmqjLucyPQrw== |
Note: The result changes when the function is called repeatedly with the same value a.