using System.Security.Cryptography;

namespace RpgRoller.Services;

public sealed class RandomDiceRoller : IDiceRoller
{
    public int Roll(int sides)
    {
        return RandomNumberGenerator.GetInt32(1, sides + 1);
    }
}