sha1UUID

Undocumented in source. Be warned that the author may not have intended to support it.
  1. UUID sha1UUID(char[] data, UUID namespace)
  2. UUID sha1UUID(ubyte[] data, UUID namespace)
    @safe pure nothrow
    UUID
    sha1UUID
    (
    ubyte[] data
    ,
    const UUID namespace = UUID.init
    )

Examples

README

enum hash = sha1Of(cast(ubyte[])[0, 1, 2, 3]); // Binary Data
enum hash2 = sha1Of("Hello World"); // String
enum namespace = sha1UUID("my.app"); // generates a std.uuid.UUID from string or binary
enum uuid = sha1UUID("interface1", namespace); // also with namespaces

Meta