The CryptoUtil.encodeSensitiveInfo and decodeSensitiveInfo method are not available as of Katalon version 10.3.1.

Hi Katalon Team,

The encodeSensitiveInfo and decodeSensitiveInfo functions were removed as of Katalon version 10.3.1. They still work in older versions, such as 10.1.1.

The two images below show a successful run on version 10.1.1 and a failed run on version 10.3.1. Could you please take a look at this issue?

Version 10.1.1:

Version 10.3.1

4 Likes

@Elly_Tran @philipB Any plan to bring this back?

1 Like

Hi @trangpmnguyen,

Thank you for sharing your issue. I will check with my team and back here soon

Hi @trangpmnguyen,

Thank you for your patience. Yes, the function decodeSensitiveInfo and encodeSensitiveInfo were removed but you can switch to use those functions by:

import com.kms.katalon.util.CryptoUtil

CryptoUtil.CrytoInfo encodeInfo = CryptoUtil.getDefault('Katalon')

String encoded = CryptoUtil.encode(encodeInfo)
println(encoded)

CryptoUtil.CrytoInfo decodeInfo = CryptoUtil.getDefault(encoded)
String decoded = CryptoUtil.decode(decodeInfo)

println(decoded)

Let us know if this can help you. Thank you

Why not use the Protected Variable’s?

2 Likes

@trangpmnguyen check this too