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/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/multiformats/dist/src/hashes/identity.js.map