Difference between revisions of "HashFunction"

m
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=enum}}
+
{{newin|[[11.0]]|110|type=enum}}
 
Hash algorithm of [[love.data.hash]].
 
Hash algorithm of [[love.data.hash]].
 
== Constants ==
 
== Constants ==

Revision as of 20:40, 3 April 2018

Available since LÖVE 11.0
This enum is not supported in earlier versions.

Hash algorithm of love.data.hash.

Constants

md5
MD5 hash algorithm (16 bytes).
sha1
SHA1 hash algorithm (20 bytes).
sha224
SHA2 hash algorithm with message digest size of 224 bits (28 bytes).
sha256
SHA2 hash algorithm with message digest size of 256 bits (32 bytes).
sha384
SHA2 hash algorithm with message digest size of 384 bits (48 bytes).
sha512
SHA2 hash algorithm with message digest size of 512 bits (64 bytes).

See Also

Other Languages