For creating signatures of objects / class instances.
Takes Object, returns String
- Sample use case?
- Memoization, for caching results of expensive functions.
- This function generates a key that you can use for caching.
- Why CircularJSON instead of JSON.stringify?
- To keep us error-free on objects with circular references.
- Why sha256?
- It's better than md5 / sha1 (that's what she says)