- HashProvider* hp = ServerInstance->Modules->FindDataService<HashProvider>("hash/" + algo);
- if (hp)
- {
- /* Now attempt to generate a hash */
- std::string hexsum = hp->Generate(stuff);
- user->WriteNotice(algo + " hashed password for " + stuff + " is " + hexsum);
- }
- else