import {of} from 'rxjs' import * as hash from '../hash' export const makeHash = (input: any) => typeof input === 'string' ? of({sha256: input}) : hash.createHash(input)