Available on hl
These are some bindings for the HL fmt.hdll library, which contains various low level formats handling.
fmt.hdll
@:hlNative("fmt","digest")staticdigest(out:Bytes, src:Bytes, srcLen:Int, algorithm:Int):Void
Performs a cryptographic digest of some bytes. 0 = Md5 , 1 = Sha1 , 2 = Crc32, 3 = Adler32 Set 256 flag to tell the src are String bytes.