Searched refs:hexChars (Results 1 – 2 of 2) sorted by relevance
52 char[] hexChars = new char[rawBytes.length * 2]; in getHexDigest() local57 hexChars[i * 2] = decToHex(upperNibble); in getHexDigest()58 hexChars[i * 2 + 1] = decToHex(lowerNibble); in getHexDigest()60 return new String(hexChars); in getHexDigest()
117 val hexChars = CharArray(bytes.size * 3 - 1) in bytesToHexString() constant122 hexChars[bufIndex++] = ':' in bytesToHexString()125 hexChars[bufIndex++] = HEX_DIGITS[byte ushr 4] in bytesToHexString()126 hexChars[bufIndex++] = HEX_DIGITS[byte and 0x0F] in bytesToHexString()128 return String(hexChars) in bytesToHexString()