import { coerce } from '../bytes.js';
import * as Digest from './digest.js';
const code = 0x0;
const name = 'identity';
const encode = coerce;
function digest(input) {
    return Digest.create(code, encode(input));
}
export const identity = { code, name, encode, digest };//# sourceMappingURL=http://go/sourcemap/sourcemaps/042b3c1a4c53f2c3808067f519fbfc67b72cad80/node_modules/multiformats/dist/src/hashes/identity.js.map