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