Error calculating Hash

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Error calculating Hash

Postby briese-it » Fri Jan 21, 2022 9:19 am

I have problem with hash calculation in Servoy 2020.3.3.3565_LTS.
I'm using the calculateHash function in svyIO and getting an error when trying to append:

Code: Select all
var hex = new java.lang.StringBuilder(2 * digestBytes.length);
for (var i = 0; i < digestBytes.length; i++) {
   hex.append(HEXES.charAt((digestBytes[i] & 0xF0) >> 4)).append(HEXES.charAt((digestBytes[i] & 0x0F)));
}


ERROR com.servoy.j2db.util.Debug - ERROR Error calculating Hash for file "C:\Users\Michael\Documents\test.png": Cannot find function append in object .
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Google [Bot] and 4 guests