1
0
mirror of https://github.com/bitwarden/server synced 2025-12-13 23:03:36 +00:00
Files
server/util/Seeder/MangleId.cs
2025-10-09 17:53:11 -07:00

15 lines
318 B
C#

namespace Bit.Seeder;
public class MangleId
{
public readonly string Value;
public MangleId()
{
// Generate a short random string (6 char) to use as the mangle ID
Value = Random.Shared.NextInt64().ToString("x").Substring(0, 8);
}
public override string ToString() => Value;
}