is-sha256-zbase32
v1.0.1
Published
check if a string is a valid z-base-32-encoded SHA-255 digest
Downloads
2
Readme
var isSHA256zbase32 = require('is-sha256-zbase32')
require('assert')(
isSHA256zbase32(
require('zbase32').encode(
require('crypto')
.createHash('sha256')
.update('some text', 'utf-8')
.digest()
)
)
)