🍪

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

カジノ
スポーツ
Arena
ランキング
1,776 オンライン
$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.
Bretislav :
He seems chill
Richorgohome :
yea preesh bro
Richorgohome :
im js a chill guy fr
Richorgohome :
mains up $3k btw
Richorgohome :
BITCH get clocked
Eddie12 :
Yo
@Richorgohome: mains up $3k btw
Bretislav :
Whats ur main name
Richorgohome :
ive ran $4 to $13k btw
desired :
Jesus christ
Ichigodam :
crazy
@jackcam9
カジノで$270K (6.75x)を獲得
Bretislav :
So we flexin about deposits nowadays
KH77 :
@Lion
is there anyone reputable i can loan?
Iuck :
@KH77: @Lion is there anyone reputable i can loan?
Lion :
no
Lion :
and dont do it here
Lion :
thanks
@KH77: @Lion is there anyone reputable i can loan?
30King :
nah
@Lion: thanks
Ichigodam :
ahh
Ichigodam :
mb
30King :
no one here is trusted lmao
Yoslug :
Lmao
Richorgohome :
kh77 u dont gotta trust me ig
PUREEVIL :
Damn Lion, steady climb
Richorgohome :
nigga
@KH77: @Lion is there anyone reputable i can loan?
Bretislav :
Dont do it tho , no1 here gonna pay shit back
Richorgohome :
tmr when im on phone
MasterEliot :
Hey kh77 remember me
Richorgohome :
i can show on screenshare my main
Bretislav :
I saw
KH77 :
no i dont mastereliot
abcabcab :
.
Yoslug :
😂
Yoslug :
Larplarp Shahoor
MasterEliot :
I asked you for tip and got instantly banned lmao
MasterEliot :
you wanetd to play poker
@MasterEliot: I asked you for tip and got instantly banned lmao
Bretislav :
Xddd
Mod Lion muted user wootwoot for 5 hours. Reason: "Begging"
Ichigodam :
lmao
Bretislav :
The fuxk he was beggin?
Iduot :
i asked Lion for tip and he put it all inside
@KH77: @Lion is there anyone reputable i can loan?
desired :
wouldn't recommend it
Bretislav :
I didnt saw
Iduot :
that wasnr nice
Bretislav :
Lion has eyes everywhere
Bretislav :
He snippin
Ichigodam :
@Lion
whats the best casino game in your opinion
@Ichigodam: @Lion whats the best casino game in your opinion
Bretislav :
Jewinator 3000
30King :
easiest way to make $100?
@30King: easiest way to make $100?
Bretislav :
All in green
@30King: easiest way to make $100?
MasterEliot :
not gamble at all
jay2slickk :
.
@jackcam9
カジノで$360K (7.99x)を獲得
Bretislav :
Bongacams
_dearr :
dva
desired :
ggs jack lmao
@jackcam9
カジノで$240K (3.69x)を獲得
kemohunter :
200$ poker anyone
@_dearr: dva
Bretislav :
Sup <3
MasterEliot :
jackcam9 so rich damn
@Bretislav: Sup <3
_dearr :
gtfo nigger
@kemohunter: 200$ poker anyone
30King :
50 sure add me
@_dearr: gtfo nigger
Bretislav :
Ok
desired :
jack is buying a new car lmao
skirt :
10-15$ tranny or not someone?
30King :
@kemohunter
add me on arena
Methylamine :
good day to be called jack
Bretislav :
Gtfo
@Methylamine: good day to be called jack
desired :
ong lmao
30King :
poker anyone?
jay2slickk :
.
@30King: poker anyone?
67windowlicker420 :
how much
30King :
i can do $50 max poker
desired :
net so empty, cant even play blackjack
desired :
lmao
@30King: i can do $50 max poker
67windowlicker420 :
come?
Iuck :
jibbyig :
yo
curryg :
duel.com/bet/pQQq45qkPFv0uE26VO
im actually such a fucking degen
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
30King :
i believed in u
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
m3lod1cblue :
u degen fuck
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Bretislav :
Well it worked out
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
abcabcab :
Holy curry
67windowlicker420 :
@30King
accept or nah
@67windowlicker420: how much
KH77 :
i watch
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Richorgohome :
i love curry munchers
@KH77: i watch
67windowlicker420 :
omg kh hi fren
67windowlicker420 :
<3
@KH77: i watch
Richorgohome :
love u btw
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
skirt :
wagering a whole house kekw
KH77 :
67 THE MAJOR last night fucked me
imgonnawin :
LOOL
@KH77: i watch
67windowlicker420 :
u missed my 1ks yday
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Yoslug :
I stress
KH77 :
faze
@KH77: 67 THE MAJOR last night fucked me
67windowlicker420 :
BC game out haha
Bretislav :
No pain no gain
Mr-lover :
kiss lucia fuck mandy marry jason
Erzy :
guys
@Erzy: guys
Bretislav :
Gaya
1,776 オンライン

Provably Fair

概要確認

計算

ゲームラウンドの公正性を自分で検証するために、以下に必要な情報を入力してください。

結果を確認するための詳細を入力してください。
コード
// 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.");
}
            
結果を確認するための詳細を入力してください。
コード
// 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.");
}
            
について
  • wtf Duel?
  • ランキング
  • 紹介に関するよくある質問
  • Provably Fair
  • Why Bonuses Suck
  • Fake Bets
  • Zero Edge
  • Careers
  • Merch
法的情報
  • Terms of Service
  • Privacy Policy
  • Sports Betting Rules
  • 責任あるギャンブル
コミュニティ
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は責任あるギャンブルを推進しています。詳細はこちら: https://www.gambleaware.org
著作権 © 2026 duel.com. 無断転載を禁じます。
1,776 オンライン
$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.
Bretislav :
He seems chill
Richorgohome :
yea preesh bro
Richorgohome :
im js a chill guy fr
Richorgohome :
mains up $3k btw
Richorgohome :
BITCH get clocked
Eddie12 :
Yo
@Richorgohome: mains up $3k btw
Bretislav :
Whats ur main name
Richorgohome :
ive ran $4 to $13k btw
desired :
Jesus christ
Ichigodam :
crazy
@jackcam9
カジノで$270K (6.75x)を獲得
Bretislav :
So we flexin about deposits nowadays
KH77 :
@Lion
is there anyone reputable i can loan?
Iuck :
@KH77: @Lion is there anyone reputable i can loan?
Lion :
no
Lion :
and dont do it here
Lion :
thanks
@KH77: @Lion is there anyone reputable i can loan?
30King :
nah
@Lion: thanks
Ichigodam :
ahh
Ichigodam :
mb
30King :
no one here is trusted lmao
Yoslug :
Lmao
Richorgohome :
kh77 u dont gotta trust me ig
PUREEVIL :
Damn Lion, steady climb
Richorgohome :
nigga
@KH77: @Lion is there anyone reputable i can loan?
Bretislav :
Dont do it tho , no1 here gonna pay shit back
Richorgohome :
tmr when im on phone
MasterEliot :
Hey kh77 remember me
Richorgohome :
i can show on screenshare my main
Bretislav :
I saw
KH77 :
no i dont mastereliot
abcabcab :
.
Yoslug :
😂
Yoslug :
Larplarp Shahoor
MasterEliot :
I asked you for tip and got instantly banned lmao
MasterEliot :
you wanetd to play poker
@MasterEliot: I asked you for tip and got instantly banned lmao
Bretislav :
Xddd
Mod Lion muted user wootwoot for 5 hours. Reason: "Begging"
Ichigodam :
lmao
Bretislav :
The fuxk he was beggin?
Iduot :
i asked Lion for tip and he put it all inside
@KH77: @Lion is there anyone reputable i can loan?
desired :
wouldn't recommend it
Bretislav :
I didnt saw
Iduot :
that wasnr nice
Bretislav :
Lion has eyes everywhere
Bretislav :
He snippin
Ichigodam :
@Lion
whats the best casino game in your opinion
@Ichigodam: @Lion whats the best casino game in your opinion
Bretislav :
Jewinator 3000
30King :
easiest way to make $100?
@30King: easiest way to make $100?
Bretislav :
All in green
@30King: easiest way to make $100?
MasterEliot :
not gamble at all
jay2slickk :
.
@jackcam9
カジノで$360K (7.99x)を獲得
Bretislav :
Bongacams
_dearr :
dva
desired :
ggs jack lmao
@jackcam9
カジノで$240K (3.69x)を獲得
kemohunter :
200$ poker anyone
@_dearr: dva
Bretislav :
Sup <3
MasterEliot :
jackcam9 so rich damn
@Bretislav: Sup <3
_dearr :
gtfo nigger
@kemohunter: 200$ poker anyone
30King :
50 sure add me
@_dearr: gtfo nigger
Bretislav :
Ok
desired :
jack is buying a new car lmao
skirt :
10-15$ tranny or not someone?
30King :
@kemohunter
add me on arena
Methylamine :
good day to be called jack
Bretislav :
Gtfo
@Methylamine: good day to be called jack
desired :
ong lmao
30King :
poker anyone?
jay2slickk :
.
@30King: poker anyone?
67windowlicker420 :
how much
30King :
i can do $50 max poker
desired :
net so empty, cant even play blackjack
desired :
lmao
@30King: i can do $50 max poker
67windowlicker420 :
come?
Iuck :
jibbyig :
yo
curryg :
duel.com/bet/pQQq45qkPFv0uE26VO
im actually such a fucking degen
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
30King :
i believed in u
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
m3lod1cblue :
u degen fuck
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Bretislav :
Well it worked out
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
abcabcab :
Holy curry
67windowlicker420 :
@30King
accept or nah
@67windowlicker420: how much
KH77 :
i watch
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Richorgohome :
i love curry munchers
@KH77: i watch
67windowlicker420 :
omg kh hi fren
67windowlicker420 :
<3
@KH77: i watch
Richorgohome :
love u btw
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
skirt :
wagering a whole house kekw
KH77 :
67 THE MAJOR last night fucked me
imgonnawin :
LOOL
@KH77: i watch
67windowlicker420 :
u missed my 1ks yday
@curryg: duel.com/bet/pQQq45qkPFv0uE26VO im actually such a fucking degen
Yoslug :
I stress
KH77 :
faze
@KH77: 67 THE MAJOR last night fucked me
67windowlicker420 :
BC game out haha
Bretislav :
No pain no gain
Mr-lover :
kiss lucia fuck mandy marry jason
Erzy :
guys
@Erzy: guys
Bretislav :
Gaya
1,776 オンライン

Duel

カジノ

スポーツ

Arena

チャット

IconSolana
IconMinesBomb
IconMinesDiamondBlue
IconMinesDiamondGreen
IconMinesExplosion
IconKenoGem

パスワードをお忘れですか?

または、以下で続ける
または、以下で続ける
  • United-Kingdom
    English
  • China
    汉语
  • Japan
    日本語
  • Korea,-South
    한국어
  • Thailand
    ภาษาไทย
  • Vietnam
    Tiếng Việt