Difference between revisions of "HashFunction"

(Function (enum for HashFunction) is the actual name in C++, but it's ambiguous.)
 
(Other Languages)
 
(2 intermediate revisions by 2 users not shown)
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]].
{{notice|This is unofficial documentation. This might be not accurate!}}
 
 
== Constants ==
 
== Constants ==
 
;md5: MD5 hash algorithm (16 bytes).
 
;md5: MD5 hash algorithm (16 bytes).
Line 13: Line 12:
 
* [[love.data.hash]]
 
* [[love.data.hash]]
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ContainerType}}
+
{{i18n|HashFunction}}
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Hash algorithm of [[love.data.hash|hash function]].}}
 
{{#set:Description=Hash algorithm of [[love.data.hash|hash function]].}}

Latest revision as of 18:41, 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