protected static void newSessionGuid() { lock (syncObject) { var bb = new BytesBuilder(); byte[] target = null; BytesBuilder.ULongToBytes((ulong)DateTime.Now.Ticks, ref target); bb.add(target); bb.add(staticBytes); sessionGuid = SHA3.generateRandomPwd(bb.getBytes(), 20); } }