diff options
Diffstat (limited to 'linden/indra/llmath/lluuid.cpp')
-rw-r--r-- | linden/indra/llmath/lluuid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llmath/lluuid.cpp b/linden/indra/llmath/lluuid.cpp index db9e869..d835cbc 100644 --- a/linden/indra/llmath/lluuid.cpp +++ b/linden/indra/llmath/lluuid.cpp | |||
@@ -867,6 +867,11 @@ void LLUUID::generate() | |||
867 | time_last = timestamp; | 867 | time_last = timestamp; |
868 | } | 868 | } |
869 | 869 | ||
870 | void LLUUID::generate(std::string hash_string) | ||
871 | { | ||
872 | LLMD5 md5_uuid((U8*)hash_string.c_str()); | ||
873 | md5_uuid.raw_digest(mData); | ||
874 | } | ||
870 | 875 | ||
871 | U32 LLUUID::getRandomSeed() | 876 | U32 LLUUID::getRandomSeed() |
872 | { | 877 | { |