Namespace lib
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
clone(obj)
Clones an object.
|
<inner> |
sha1(data)
SHA1 a string.
|
Method Detail
<inner>
{Object}
clone(obj)
Clones an object.
- Parameters:
- {Object} obj
- The object you want to clone.
- Returns:
- {Object} A copy of obj.
<inner>
{String}
sha1(data)
SHA1 a string.
- Parameters:
- {String} data
- A string or buffer object.
- Returns:
- {String} Hexedecimal SHA1 value of data.