[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-03 UTC."],[],[],null,["# Namespace: hashing\n\n[rules](/docs/reference/rules/rules).hashing\n============================================\n\nnamespace static\n\nGlobally available hashing functions. These functions are accessed\nusing the `hashing.` prefix.\n\nMethods\n-------\n\n### crc32\n\nstatic\n\ncrc32(bytes_or_string) returns [rules.Bytes](/docs/reference/rules/rules.Bytes)\n\nCompute a hash using the CRC32 algorithm.\n\n| #### Parameter ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| bytes_or_string | (non-null [rules.Bytes](/docs/reference/rules/rules.Bytes) or non-null [rules.String](/docs/reference/rules/rules.String)) Bytes sequence (declared with b prefix), or string. For strings, the UTF-8 encoding is used. |\n\nReturns\n\n: `non-null `[rules.Bytes](/docs/reference/rules/rules.Bytes) hash value as a Bytes sequence.\n\n### crc32c\n\nstatic\n\ncrc32c(bytes_or_string) returns [rules.Bytes](/docs/reference/rules/rules.Bytes)\n\nCompute a hash using the CRC32C algorithm.\n\n| #### Parameter ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| bytes_or_string | (non-null [rules.Bytes](/docs/reference/rules/rules.Bytes) or non-null [rules.String](/docs/reference/rules/rules.String)) Bytes sequence (declared with b prefix), or string. For strings, the UTF-8 encoding is used. |\n\nReturns\n\n: `non-null `[rules.Bytes](/docs/reference/rules/rules.Bytes) hash value as a Bytes sequence.\n\n### md5\n\nstatic\n\nmd5(bytes_or_string) returns [rules.Bytes](/docs/reference/rules/rules.Bytes)\n\nCompute a hash using the MD5 algorithm.\n\n| #### Parameter ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| bytes_or_string | (non-null [rules.Bytes](/docs/reference/rules/rules.Bytes) or non-null [rules.String](/docs/reference/rules/rules.String)) Bytes sequence (declared with b prefix), or string. For strings, the UTF-8 encoding is used. |\n\nReturns\n\n: `non-null `[rules.Bytes](/docs/reference/rules/rules.Bytes) hash value as a Bytes sequence.\n\n### sha256\n\nstatic\n\nsha256(bytes_or_string) returns [rules.Bytes](/docs/reference/rules/rules.Bytes)\n\nCompute a hash using the SHA-256 algorithm.\n\n| #### Parameter ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| bytes_or_string | (non-null [rules.Bytes](/docs/reference/rules/rules.Bytes) or non-null [rules.String](/docs/reference/rules/rules.String)) Bytes sequence (declared with b prefix), or string. For strings, the UTF-8 encoding is used. |\n\nReturns\n\n: `non-null `[rules.Bytes](/docs/reference/rules/rules.Bytes) hash value as a Bytes sequence."]]