Digest.digest

ubyte[] digest(scope const(void[])[] data...) @trusted nothrow

This is a convenience function to calculate the hash of a value using the OOP API.