Difference between revisions of "HashFunction"

(Function (enum for HashFunction) is the actual name in C++, but it's ambiguous.)
 
m
Line 1: Line 1:
 
{{newin|[[0.11.0]]|110|type=enum}}
 
{{newin|[[0.11.0]]|110|type=enum}}
 
Hash algorithm of [[love.data.hash]].
 
Hash algorithm of [[love.data.hash]].
{{notice|This is unofficial documentation. This might be not accurate!}}
 
 
== Constants ==
 
== Constants ==
 
;md5: MD5 hash algorithm (16 bytes).
 
;md5: MD5 hash algorithm (16 bytes).

Revision as of 19:08, 27 January 2018

Available since LÖVE 0.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