🍪

We use cookies for functional, analytical and personalisation purposes.

Read moreAccept

Dice

Blackjack

Plinko

Crash

Mines

Beef

Keno

Castle Roulette

Video Poker

Groomer's Van

Rock Paper Scissors

Limbo

Hilo

Live Blackjack

Casino
Sports
Arena
High Scores
1,603 Online
$3m monthly and $25k daily leaderboards now live for slots, live games and originals post zero edge.
$3m monthly and $25k daily leaderboards now live for slots, live games and originals post zero edge.
PRESIDENTE :
SOMEONE WANTS POKER 200?
@PRESIDENTE: SOMEONE WANTS POKER 200?
Divine09177 :
ok
hasbulla :
does this chat practice sharia law?
Nicot1ne :
ill piss in u g
rubjew :
say wallaha
@Divine09177: ok
PRESIDENTE :
u are poor
@Nicot1ne: ill piss in u g
person11128 :
AHHHH
niggitoriggito :
fym
Nicot1ne :
yo wattt
@PRESIDENTE: u are poor
Divine09177 :
i gt 0.30 in ltc rn
Moby :
who wanna play connect
Divine09177 :
ofc im broke
marispinss :
Ih
ComeFlyWithMe :
😭
@niggitoriggito: fym
rubjew :
general chat??
niggitoriggito :
how do u priv chat on duel nigga?
@niggitoriggito: how do u priv chat on duel nigga?
rubjew :
join the public discord retard
niggitoriggito :
on duel/
rubjew :
no on roblox
@niggitoriggito: on duel/
ComeFlyWithMe :
On DC u idiot
niggitoriggito :
theres a duel discord server?
@niggitoriggito: theres a duel discord server?
rainyday :
discord.gg/duel
JewWarrior :
.
niggitoriggito :
ok imma join
Pallopasi :
who wanna poker 1 cent?
luckiestluckytheluck :
someone up for 20$+ poker
@JewWarrior: .
ComeFlyWithMe :
Hi jew
marcus_556 :
PRESIDENTE :
SOMEONE WANTS POKER 200?
rubjew :
@niggitoriggito
cmon nigga u slower than yo dead grandma
Pallopasi :
SOMEONE COME POKER 1 CENT
rubjew :
her ashes can be faster
Moby :
anyone connect?
niggitoriggito :
which general?
marispinss :
Yuuiuy
@niggitoriggito: which general?
rubjew :
the only one?
Dammadl :
Harro
desiq :
a
niggitoriggito :
wait im gambling
@Dammadl: Harro
ComeFlyWithMe :
Harro
yrnrj2003 :
tip me
Moby :
anyone conncect?
hasbulla :
SHUT YO BITCH ASS UP
Pallopasi :
Who poker 1 cent?
@Pallopasi: Who poker 1 cent?
PRESIDENTE :
broke gay
@rubjew: @niggitoriggito cmon nigga u slower than yo dead grandma
Mr-lover :
wow swag rude
@PRESIDENTE: broke gay
Pallopasi :
shut up, come 1 cent poker if u dare
Mr-lover :
@Nicot1ne
gm 🫂🫂🤤🤤❤🥰😘
rubjew :
@niggitoriggito
cmon faggy i gtg
niggitoriggito :
wait im on a lil streaky
Moby :
connect anyone?
JohnnyPie :
fuck u guys
niggitoriggito :
im running up 50 cents of rakeback
jaycejayce :
yei
@JohnnyPie: fuck u guys
Mr-lover :
no u
JohnnyPie :
i just keep comign back
JohnnyPie :
for nor eason
Dammadl :
E
Dammadl :
e
marcus_556 :
JohnnyPie :
there is 1 reason
JohnnyPie :
greedy
@JohnnyPie: greedy
NeverME- :
Hmm
JohnnyPie :
it's all same veryday
JohnnyPie :
" just 50$ more2
WildWezt :
anyone wann aplay poker?
perfume :
yo
JohnnyPie :
new seed new me
Ritte :
.
JohnnyPie :
why is limbo on 2x not 50% 50%?
luckiestluckytheluck :
anybody doing 20$+ poker?
@JohnnyPie: why is limbo on 2x not 50% 50%?
Moby :
pitipiwpiw wiwiw
@perfume: yo
ComeFlyWithMe :
Hi
JohnnyPie :
o shit here we go.
@JohnnyPie: o shit here we go.
abcabcab :
U hits?
JohnnyPie :
nope lost 100
JohnnyPie :
depositing the profits from last night going crazy lol
@JohnnyPie: nope lost 100
abcabcab :
Sad
@JohnnyPie: depositing the profits from last night going crazy lol
abcabcab :
Gl nro
JohnnyPie :
whats sad is i keep losing it and coming back
Bannan0 :
helooo guys
JohnnyPie :
so now idk
JohnnyPie :
im insane
JohnnyPie :
if young me saw me doing 100$ bets he would kill me
F1MOZ :
Yeah totally agree, switching games when a slot goes cold is always smart
luckiestluckytheluck :
someone up for 20$+ poker
JohnnyPie :
yep lost 500
PRESIDENTE :
SOMEONE WANTS POKER 200?
JohnnyPie :
that was fast
@JohnnyPie: that was fast
ComeFlyWithMe :
You were playing limbo?
JohnnyPie :
yep
JohnnyPie :
lost
JohnnyPie :
11 in a row
JohnnyPie :
on 2x
marcus_556 :
jeeznigga :
@Nicot1ne
my goat
JohnnyPie :
now im gonna lose ven more and call it a day
PRESIDENTE :
SOMEONE WANTS POKER 200?
d4jonathan :
very soon
@JohnnyPie: now im gonna lose ven more and call it a day
abcabcab :
Take a rest
1,603 Online

Provably Fair

OverviewVerify

Calculation

Enter the required details below to independently verify the fairness of your game round.

Enter the details to verify your results.
Code
// Code written in javascript

// User input values
const clientSeed = '';
const serverSeed = '';
const nonce = 0;

// Suits: D -> Diamonds, H -> Hearts, S -> Spades, C -> Clubs

// Index of 0 to 51: 2D to AC
const CARDS = [
  '2D', '2H', '2S', '2C', '3D', '3H', '3S', '3C', '4D', '4H',
  '4S', '4C', '5D', '5H', '5S', '5C', '6D', '6H', '6S', '6C',
  '7D', '7H', '7S', '7C', '8D', '8H', '8S', '8C', '9D', '9H',
  '9S', '9C', '10D', '10H', '10S', '10C', 'JD', 'JH', 'JS',
  'JC', 'QD', 'QH', 'QS', 'QC', 'KD', 'KH', 'KS', 'KC', 'AD',
  'AH', 'AS', 'AC',
];

// Converts a hex string (e.g. "deadbeef") into a Uint8Array of bytes
function hexToBytes(hex) {
  const bytes = new Uint8Array(hex.length / 2);
  for (let i = 0; i < bytes.length; i++) {
    bytes[i] = parseInt(hex.slice(i * 2, i * 2 + 2), 16);
  }
  return bytes;
}

// Converts a Uint8Array of bytes back into a hex string (e.g. [222, 173, 190, 239] → "deadbeef")
function bytesToHex(bytes) {
  return Array.from(bytes)
    .map((b) => b.toString(16).padStart(2, '0'))
    .join('');
}

// Computes a HMAC-SHA256 using the Web Crypto API
// keyHex: hex-encoded key (e.g. server seed)
// message: Uint8Array to be signed
async function generateHMAC_SHA256(keyHex, message) {
  const keyBytes = hexToBytes(keyHex);

  // Import raw key for HMAC use
  const cryptoKey = await crypto.subtle.importKey(
    'raw',
    keyBytes,
    { name: 'HMAC', hash: 'SHA-256' },
    false,
    ['sign'],
  );

  // Generate HMAC signature
  const signature = await crypto.subtle.sign('HMAC', cryptoKey, message);
  return bytesToHex(new Uint8Array(signature)); // Return signature as hex
}

// Generates a single card from a SHA-256 hash (hex string)
// Uses rejection sampling to ensure fair distribution across 52 possible cards
function generateInfiniteDeckCard(hashHex) {
  const hashBytes = hexToBytes(hashHex);

  for (let i = 0; i <= hashBytes.length - 4; i += 4) {
    const view = new DataView(
      hashBytes.buffer,
      hashBytes.byteOffset + i,
      4,
    );
    const value = view.getUint32(0); // Read 4 bytes as big-endian unsigned integer
    const max = 52 * Math.floor(0x100000000 / 52); // Bias-free range
    if (value < max) {
      const index = value % 52; // Fair card index
      return CARDS[index];
    }
  }

  throw new Error('Failed to generate unbiased card value from hash');
}

// Combines all steps to return a Blackjack card result
// Inputs: serverSeed, clientSeed, nonce, cursor
async function getCard(serverSeed, clientSeed, nonce, cursor) {
  // Prepare input message for HMAC: public seed + nonce + cursor
  const message = new TextEncoder().encode(
    `${clientSeed}:${nonce}:${cursor}`
  );

  // Compute HMAC hash
  const hash = await generateHMAC_SHA256(serverSeed, message);

  // Generate and return card using the hash
  const card = generateInfiniteDeckCard(hash);
  return card;
}

async function validateBlackjackResult(serverSeed, clientSeed, nonce) {
  const cards = [];

  for (let cursor = 0; cursor < 50; cursor++) {
    cards.push(await getCard(serverSeed, clientSeed, nonce, cursor));
  }

  return cards;
}

// Run the validateBlackjackResult function if input values are provided
if (serverSeed && serverSeed.trim() !== '' && clientSeed && clientSeed.trim() !== '' && nonce >= 0) {
  validateBlackjackResult(serverSeed, clientSeed, nonce).then(result => {
    console.log("Suits: D -> Diamonds, H -> Hearts, S -> Spades, C -> Clubs");
    console.log("Next 50 cards in the deck:", result);
  });
} else {
  console.log("Please provide valid serverSeed, clientSeed, and nonce (>=0) before running.");
}
            
Enter the details to verify your results.
Code
// Code written in javascript

// User input values
const clientSeed = '';
const serverSeed = '';
const nonce = 0;

// Suits: D -> Diamonds, H -> Hearts, S -> Spades, C -> Clubs

// Index of 0 to 51: 2D to AC
const CARDS = [
  '2D', '2H', '2S', '2C', '3D', '3H', '3S', '3C', '4D', '4H',
  '4S', '4C', '5D', '5H', '5S', '5C', '6D', '6H', '6S', '6C',
  '7D', '7H', '7S', '7C', '8D', '8H', '8S', '8C', '9D', '9H',
  '9S', '9C', '10D', '10H', '10S', '10C', 'JD', 'JH', 'JS',
  'JC', 'QD', 'QH', 'QS', 'QC', 'KD', 'KH', 'KS', 'KC', 'AD',
  'AH', 'AS', 'AC',
];

// Converts a hex string (e.g. "deadbeef") into a Uint8Array of bytes
function hexToBytes(hex) {
  const bytes = new Uint8Array(hex.length / 2);
  for (let i = 0; i < bytes.length; i++) {
    bytes[i] = parseInt(hex.slice(i * 2, i * 2 + 2), 16);
  }
  return bytes;
}

// Converts a Uint8Array of bytes back into a hex string (e.g. [222, 173, 190, 239] → "deadbeef")
function bytesToHex(bytes) {
  return Array.from(bytes)
    .map((b) => b.toString(16).padStart(2, '0'))
    .join('');
}

// Computes a HMAC-SHA256 using the Web Crypto API
// keyHex: hex-encoded key (e.g. server seed)
// message: Uint8Array to be signed
async function generateHMAC_SHA256(keyHex, message) {
  const keyBytes = hexToBytes(keyHex);

  // Import raw key for HMAC use
  const cryptoKey = await crypto.subtle.importKey(
    'raw',
    keyBytes,
    { name: 'HMAC', hash: 'SHA-256' },
    false,
    ['sign'],
  );

  // Generate HMAC signature
  const signature = await crypto.subtle.sign('HMAC', cryptoKey, message);
  return bytesToHex(new Uint8Array(signature)); // Return signature as hex
}

// Generates a single card from a SHA-256 hash (hex string)
// Uses rejection sampling to ensure fair distribution across 52 possible cards
function generateInfiniteDeckCard(hashHex) {
  const hashBytes = hexToBytes(hashHex);

  for (let i = 0; i <= hashBytes.length - 4; i += 4) {
    const view = new DataView(
      hashBytes.buffer,
      hashBytes.byteOffset + i,
      4,
    );
    const value = view.getUint32(0); // Read 4 bytes as big-endian unsigned integer
    const max = 52 * Math.floor(0x100000000 / 52); // Bias-free range
    if (value < max) {
      const index = value % 52; // Fair card index
      return CARDS[index];
    }
  }

  throw new Error('Failed to generate unbiased card value from hash');
}

// Combines all steps to return a Blackjack card result
// Inputs: serverSeed, clientSeed, nonce, cursor
async function getCard(serverSeed, clientSeed, nonce, cursor) {
  // Prepare input message for HMAC: public seed + nonce + cursor
  const message = new TextEncoder().encode(
    `${clientSeed}:${nonce}:${cursor}`
  );

  // Compute HMAC hash
  const hash = await generateHMAC_SHA256(serverSeed, message);

  // Generate and return card using the hash
  const card = generateInfiniteDeckCard(hash);
  return card;
}

async function validateBlackjackResult(serverSeed, clientSeed, nonce) {
  const cards = [];

  for (let cursor = 0; cursor < 50; cursor++) {
    cards.push(await getCard(serverSeed, clientSeed, nonce, cursor));
  }

  return cards;
}

// Run the validateBlackjackResult function if input values are provided
if (serverSeed && serverSeed.trim() !== '' && clientSeed && clientSeed.trim() !== '' && nonce >= 0) {
  validateBlackjackResult(serverSeed, clientSeed, nonce).then(result => {
    console.log("Suits: D -> Diamonds, H -> Hearts, S -> Spades, C -> Clubs");
    console.log("Next 50 cards in the deck:", result);
  });
} else {
  console.log("Please provide valid serverSeed, clientSeed, and nonce (>=0) before running.");
}
            
About
  • wtf Duel?
  • High Scores
  • Referral FAQ
  • Provably Fair
  • Why Bonuses Suck
  • Fake Bets
  • Zero Edge
  • Careers
  • Merch
Legal
  • Terms of Service
  • Privacy Policy
  • Sports Betting Rules
  • Responsible Gaming
Community
Duel.com is a crypto casino operated by Immortal Snail LLC, registration number L22982, with its registered office at Arthur L. Evelyn Building, Suite 5, Main Street, Charlestown, Nevis, West Indies.Payments may be handled by Zero Edge Limited, Republic of Cyprus under registration number HE463440, 81 Griva Digeni, Marinos Court, 3rd floor, Flat/Office 301, Larnaca 6043, Cyprus, acting as payment agent on behalf of Immortal Snail LLC.Duel.com is licensed and regulated by the Government of the Autonomous Island of Anjouan, Union of Comoros, and operates under Licence No. ALSI-202411026-FI1.Duel is dedicated to encouraging responsible gambling. To learn more, please visit: https://www.gambleaware.org
Copyright © 2026 duel.com. All rights reserved.
1,603 Online
$3m monthly and $25k daily leaderboards now live for slots, live games and originals post zero edge.
$3m monthly and $25k daily leaderboards now live for slots, live games and originals post zero edge.
PRESIDENTE :
SOMEONE WANTS POKER 200?
@PRESIDENTE: SOMEONE WANTS POKER 200?
Divine09177 :
ok
hasbulla :
does this chat practice sharia law?
Nicot1ne :
ill piss in u g
rubjew :
say wallaha
@Divine09177: ok
PRESIDENTE :
u are poor
@Nicot1ne: ill piss in u g
person11128 :
AHHHH
niggitoriggito :
fym
Nicot1ne :
yo wattt
@PRESIDENTE: u are poor
Divine09177 :
i gt 0.30 in ltc rn
Moby :
who wanna play connect
Divine09177 :
ofc im broke
marispinss :
Ih
ComeFlyWithMe :
😭
@niggitoriggito: fym
rubjew :
general chat??
niggitoriggito :
how do u priv chat on duel nigga?
@niggitoriggito: how do u priv chat on duel nigga?
rubjew :
join the public discord retard
niggitoriggito :
on duel/
rubjew :
no on roblox
@niggitoriggito: on duel/
ComeFlyWithMe :
On DC u idiot
niggitoriggito :
theres a duel discord server?
@niggitoriggito: theres a duel discord server?
rainyday :
discord.gg/duel
JewWarrior :
.
niggitoriggito :
ok imma join
Pallopasi :
who wanna poker 1 cent?
luckiestluckytheluck :
someone up for 20$+ poker
@JewWarrior: .
ComeFlyWithMe :
Hi jew
marcus_556 :
PRESIDENTE :
SOMEONE WANTS POKER 200?
rubjew :
@niggitoriggito
cmon nigga u slower than yo dead grandma
Pallopasi :
SOMEONE COME POKER 1 CENT
rubjew :
her ashes can be faster
Moby :
anyone connect?
niggitoriggito :
which general?
marispinss :
Yuuiuy
@niggitoriggito: which general?
rubjew :
the only one?
Dammadl :
Harro
desiq :
a
niggitoriggito :
wait im gambling
@Dammadl: Harro
ComeFlyWithMe :
Harro
yrnrj2003 :
tip me
Moby :
anyone conncect?
hasbulla :
SHUT YO BITCH ASS UP
Pallopasi :
Who poker 1 cent?
@Pallopasi: Who poker 1 cent?
PRESIDENTE :
broke gay
@rubjew: @niggitoriggito cmon nigga u slower than yo dead grandma
Mr-lover :
wow swag rude
@PRESIDENTE: broke gay
Pallopasi :
shut up, come 1 cent poker if u dare
Mr-lover :
@Nicot1ne
gm 🫂🫂🤤🤤❤🥰😘
rubjew :
@niggitoriggito
cmon faggy i gtg
niggitoriggito :
wait im on a lil streaky
Moby :
connect anyone?
JohnnyPie :
fuck u guys
niggitoriggito :
im running up 50 cents of rakeback
jaycejayce :
yei
@JohnnyPie: fuck u guys
Mr-lover :
no u
JohnnyPie :
i just keep comign back
JohnnyPie :
for nor eason
Dammadl :
E
Dammadl :
e
marcus_556 :
JohnnyPie :
there is 1 reason
JohnnyPie :
greedy
@JohnnyPie: greedy
NeverME- :
Hmm
JohnnyPie :
it's all same veryday
JohnnyPie :
" just 50$ more2
WildWezt :
anyone wann aplay poker?
perfume :
yo
JohnnyPie :
new seed new me
Ritte :
.
JohnnyPie :
why is limbo on 2x not 50% 50%?
luckiestluckytheluck :
anybody doing 20$+ poker?
@JohnnyPie: why is limbo on 2x not 50% 50%?
Moby :
pitipiwpiw wiwiw
@perfume: yo
ComeFlyWithMe :
Hi
JohnnyPie :
o shit here we go.
@JohnnyPie: o shit here we go.
abcabcab :
U hits?
JohnnyPie :
nope lost 100
JohnnyPie :
depositing the profits from last night going crazy lol
@JohnnyPie: nope lost 100
abcabcab :
Sad
@JohnnyPie: depositing the profits from last night going crazy lol
abcabcab :
Gl nro
JohnnyPie :
whats sad is i keep losing it and coming back
Bannan0 :
helooo guys
JohnnyPie :
so now idk
JohnnyPie :
im insane
JohnnyPie :
if young me saw me doing 100$ bets he would kill me
F1MOZ :
Yeah totally agree, switching games when a slot goes cold is always smart
luckiestluckytheluck :
someone up for 20$+ poker
JohnnyPie :
yep lost 500
PRESIDENTE :
SOMEONE WANTS POKER 200?
JohnnyPie :
that was fast
@JohnnyPie: that was fast
ComeFlyWithMe :
You were playing limbo?
JohnnyPie :
yep
JohnnyPie :
lost
JohnnyPie :
11 in a row
JohnnyPie :
on 2x
marcus_556 :
jeeznigga :
@Nicot1ne
my goat
JohnnyPie :
now im gonna lose ven more and call it a day
PRESIDENTE :
SOMEONE WANTS POKER 200?
d4jonathan :
very soon
@JohnnyPie: now im gonna lose ven more and call it a day
abcabcab :
Take a rest
1,603 Online

Duel

Casino

Sports

Arena

Chat

IconSolana
IconMinesBomb
IconMinesDiamondBlue
IconMinesDiamondGreen
IconMinesExplosion
IconKenoGem

Forgot password?

or continue with
or continue with
  • United-Kingdom
    English
  • China
    汉语
  • Japan
    日本語
  • Korea,-South
    한국어
  • Thailand
    ภาษาไทย
  • Vietnam
    Tiếng Việt