TinyBase logoTinyBase β

Hash functions

getTableInTablesHash

The getTableInTablesHash function returns a hash for a single Table in a Store, based on its Id and hash (in turn produced from its Rows). Read more.

getTablesHash

The getTablesHash function returns a hash for the tabular part of a Store, based on each Table Id and hash. Read more.

getRowInTableHash

The getRowInTableHash function returns a hash for a single Row in a Table, based on its Id and hash (in turn produced from its Cells). Read more.

getTableHash

The getTableHash function returns a hash for a single Table in a Store, based on each Row Id and hash. Read more.

getCellInRowHash

The getCellInRowHash function returns a hash for a single Cell in a Row, based on its Id and hash (in turn produced from its value). Read more.

getRowHash

The getRowHash function returns a hash for a single Row in a Table, based on each Cell Id and hash. Read more.

getCellHash

The getCellHash function returns a hash for a single Cell, based on its value and the HLC of the Cell. Read more.

getValueInValuesHash

The getValueInValuesHash function returns a hash for a single Value in a Values object, based on its Id and hash (in turn produced from its value). Read more.

getValuesHash

The getValuesHash function returns a hash for a Values object, based on each Value Id and hash. Read more.

getValueHash

The getValueHash function returns a hash for a single Value, based on its value and the HLC of the Value. Read more.

addOrRemoveHash

The addOrRemoveHash function combines two hashes together, which, because it is a simple alias for bitwise XOR, serves both as addition and removal of one hash from the other. Read more.

getHash

The getHash function returns a deterministic hash of a string, which can be used to quickly compare the content of two entities. Read more.