RPG Library

Secure Dice

Copyright © 2005-2024 Brandon Blackmoor <bblackmoor@blackgate.net>
Licensed under the GNU General Public License v3.0: https://www.gnu.org/licenses/gpl-3.0.en.html
Source: https://github.com/bblackmoor/securedice
Last updated: 2024-03-03

RPG Library Secure Dice is a free online dice roller which will generate cryptographically secure pseudo-random integers, generate a MD5 checksum of the results, and email those results to the email address(es) you specify.

Email from the dice server includes a MD5 checksum which can be used to verify that the dice roll sent to you has not been modified. You can type the checksum into the verification page to ensure that the dice results are genuine.

81,048,025 dice rolled since 2005-11-06.

Roll   d , and
then roll and subtract   d , and

OR...
Roll   Fudge (or FATE) dice
(If you select Fudge dice, the section above will be ignored.)

Roll this set of dice  

times. Sort dice sets?

Send the signed results of this roll to yourself:  
and the GM:  
with this subject:  
 

You can pre-populate these values by adding them to the URL. The first value you set must be preceded with a question mark (?). Values after the first must be preceded by an ampersand (&). Here are permitted options, and their allowed values:

dq= dice quantity: any integer from 1 to 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 1000
ds= dice sides: 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 18, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 1000
dm= dice modifier: any integer from -40 to 40 (for numbers greater than -1, do not include a plus sign)
dd= dice deviation: lowest, none, highest, wild, stunt
mdq= minus dice quantity: any integer from 0 to 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 1000
mds= minus dice sides: 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 18, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 1000
mdm= minus dice modifier: any integer from -40 to 40 (for numbers greater than -1, do not include a plus sign)
mdd= minus dice deviation: lowest, none, highest, wild
dt= dice sets: any integer from 1 to 20
sdt= sort dice sets: 1 (sorts the rolls in each dice set from largest to smallest)
to= Your email address: one valid email address
gm= GM's email address: one valid email address
sub= email subject: a brief message, with "%20" instead of spaces (example: This%20is%20a%20test)

Here is an example of a URL which pre-sets some of these values:

https://www.rpglibrary.org/software/securedice/?dq=7&ds=4&dt=5&to=yourname@example.com&sub=This%20is%20a%20test

Never accept a roll sent from anyone other than the RPG Library server. If the other player forgot to include your email address when generating the dice roll, ask them to roll again: it's the only way to be sure that they sent you the results of a single die roll, rather than the best of many rolls.

Please whitelist or subscribe webmaster@rpglibrary.org to ensure delivery of your dice rolls.

Server Requirements

If you wish to run Secure Dice on your server, it requires:

RPG Library RPG Library