-
Notifications
You must be signed in to change notification settings - Fork 5
Pylib Hasher
campadrenalin edited this page Sep 14, 2011
·
1 revision
Creates a hex digest using the sha256 algorithm.
The first 6 characters of make(string)
The first n characters of make(string)
The CTree sum algorithm, which can be implemented in any language in very few lines of code. See the BCP Reference for more information about CTree-specific algorithms.
Converts a Python object into a strict JSON string. Implementation of the CTree strict algorithm.
Takes a JSON string, returns a strict version. Behind the scenes, it turns the string into a Python object, and returns the result of strict on that object.
Equivalent to sum(strict(obj)).
Turns a tree node value into a key, using the CTree key algorithm.