You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- 'use strict'
-
- var createHash = require('create-hash')
- var bs58checkBase = require('./base')
-
- // SHA256(SHA256(buffer))
- function sha256x2 (buffer) {
- var tmp = createHash('sha256').update(buffer).digest()
- return createHash('sha256').update(tmp).digest()
- }
-
- module.exports = bs58checkBase(sha256x2)
|