Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add crc256 function.

  • Loading branch information...
commit 081fd0334202f054d8a8f0909bb52bd1b8f46c4f 1 parent 636e98f
@fbzhong authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.markdown
View
7 README.markdown
@@ -75,6 +75,13 @@ Install Node-CityHash:
**/
function crc128(str, [seed0]);
+ /**
+ * Compute hash crc for str by CityHashCrc256().
+ * @param {string} str The string to compute hash.
+ * @return {array} 4 64-bit hash object in an array, eg [hash1, hash2, hash3, hash4].
+ **/
+ function crc256(str);
+
### Usage ###
var cityhash = require('node-cityhash');
Please sign in to comment.
Something went wrong with that request. Please try again.