mirror of
https://github.com/ldqk/Masuit.Tools.git
synced 2026-10-27 11:16:34 +08:00
18 lines
382 B
C#
18 lines
382 B
C#
using System;
|
|
using Masuit.Tools.Security;
|
|
using Xunit;
|
|
|
|
namespace Masuit.Tools.Abstractions.Test.Security;
|
|
|
|
public class HashEncodeTests
|
|
{
|
|
[Fact]
|
|
public void GetSecurity_ShouldNotDependOnTheProvidedRandomSeed()
|
|
{
|
|
string first = new Random(42).GetSecurity();
|
|
string second = new Random(42).GetSecurity();
|
|
|
|
Assert.NotEqual(first, second);
|
|
}
|
|
}
|