NameUuidGenerator class

Generator for name-based UUIDs (v5) SHA-1 hashing is used, MD5 is deprecated

Constructors

NameUuidGenerator(Uuid namespace)
Creates generator for namespace

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateFromBytes(Uint8List nameBytes) Uuid
Generates name-based v5 UUID for nameBytes bytes
generateFromString(String name) Uuid
Generates name-based v5 UUID for name string
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

dnsNamespace Uuid
Name space IDs for some potentially interesting namespaces see RFC 4122 Appendix C Name space for DNS '6ba7b810-9dad-11d1-80b4-00c04fd430c8'
final
oidNamespace Uuid
Name space for ISO OID
final
urlNamespace Uuid
Name space for URL
final
x500namespace Uuid
Name space for X.500 DN
final