Guest User

Untitled

a guest
Nov 20th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. var sodium = require('sodium-universal')
  2.  
  3. var out = Buffer.allocUnsafe(8)
  4. sodium.crypto_shorthash(out, Buffer.from('hello world'), Buffer.alloc(32))
  5. console.log(out)
Add Comment
Please, Sign In to add comment