All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.crypto.JTranscHash Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package com.jtransc.crypto;

import java.util.zip.CRC32;

public class JTranscHash {
	static public int crc32(byte[] data, int offset, int length) {
		CRC32 crc32 = new CRC32();
		crc32.reset();
		crc32.update(data, offset, length);
		return (int) crc32.getValue();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy