User Tools

Site Tools


syntax:functions:hash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

syntax:functions:hash [2015/08/25 02:34]
dmitry created
syntax:functions:hash [2015/08/25 02:41]
dmitry
Line 1: Line 1:
 ===== Hash(value) ===== ===== Hash(value) =====
  
-Calculates 128-bit hash in Base64 encoding.+Calculates 128-bit hash in Base64 encoding. The function returns the same result for the same value on any computer. It can't be used for creating primary/foreign keys as it allows [[https://en.wikipedia.org/wiki/Collision_%28computer_science%29|hash collisions]]. 
 + 
 +^  Example  ^  Result 
 +|  0| 1hipffIbvUu2HHnN7KlltA | 
 +|  TRUE  | nn8s3lvGRHcA0N3/R6NGQw | 
 +| 'TRUE'  | vSAg6sjmONe8VqjFASGqXw |
  
syntax/functions/hash.txt · Last modified: 2015/08/25 02:41 by dmitry