mirror of
https://github.com/bitwarden/mobile
synced 2026-01-08 11:33:31 +00:00
stub out password generator page functionality
This commit is contained in:
@@ -142,11 +142,21 @@ namespace Bit.Core.Services
|
||||
return Task.FromResult(CryptographicBuffer.GenerateRandom(length));
|
||||
}
|
||||
|
||||
public byte[] RandomBytes(int length)
|
||||
{
|
||||
return CryptographicBuffer.GenerateRandom(length);
|
||||
}
|
||||
|
||||
public Task<uint> RandomNumberAsync()
|
||||
{
|
||||
return Task.FromResult(CryptographicBuffer.GenerateRandomNumber());
|
||||
}
|
||||
|
||||
public uint RandomNumber()
|
||||
{
|
||||
return CryptographicBuffer.GenerateRandomNumber();
|
||||
}
|
||||
|
||||
private HashAlgorithm ToHashAlgorithm(CryptoHashAlgorithm algorithm)
|
||||
{
|
||||
switch(algorithm)
|
||||
|
||||
Reference in New Issue
Block a user