import md5 from "nano-md5";

// $FlowExpectedError: accept only strings
md5(6);

const encoded: string = md5('some-string');

md5.fromUtf8('hello').toHex();
md5.fromBytes('hello').toHex();
md5.crypt('hello', '$1$01234567');
