diff --git a/humanhash.coffee b/humanhash.coffee index 23e1918..1868a85 100644 --- a/humanhash.coffee +++ b/humanhash.coffee @@ -82,9 +82,13 @@ class HumanHasher uuid: -> digest = uid() - @humanize digest + [(@humanize digest), digest] -DEFAULT_HASHER = new HumanHasher() \ No newline at end of file +DEFAULT_HASHER = new HumanHasher() +digest = '7528880a986c40e78c38115e640da2a1' +console.log DEFAULT_HASHER.humanize(digest) +console.log DEFAULT_HASHER.humanize(digest, words=6) +console.log DEFAULT_HASHER.uuid() \ No newline at end of file