Bitcoin Forum
August 21, 2024, 02:48:13 PM
Welcome,
Guest
. Please
login
or
register
.
News
: All versions of Windows are affected by a
critical security bug
; make sure you update.
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Other
>
Off-topic
>
How can I create server seed for a gamble game?
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: How can I create server seed for a gamble game? (Read 1274 times)
KaozTiposta
(OP)
Full Member
Offline
Activity: 244
Merit: 101
How can I create server seed for a gamble game?
August 24, 2014, 04:01:02 PM
Last edit: August 30, 2014, 09:19:26 PM by KaozTiposta
#1
Fixed.
Sir Bitcoin
Member
Offline
Activity: 112
Merit: 10
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:04:24 PM
#2
Normally the way I have seen it done is take a random alphanumeric string.
Then hash it in SHA512 or equivalent and show it to users.
Cortex7
Full Member
Offline
Activity: 238
Merit: 106
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:09:42 PM
#3
You need crytpographically secure random func, many standard rand funcs are not.
If using PHP server side then take a look at this:
http://php.net/manual/en/function.openssl-random-pseudo-bytes.php
Then hash it, if you want to be really tight (maybe overkill for gambling with low max bets) then use multiple hashes of whirlpool.
kerimk2
Full Member
Offline
Activity: 140
Merit: 100
ACCOUNT BANNED. Email in sig!!
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:10:53 PM
#4
I have run a casino and sell scripts to many people. If you want a provably fair system with an automatic secret generating script, pm me. I could help you out.
If you need support for AutoPonzi contact:
autoponzi@gmail.com
We aren't sure how long the ban is for. We aren't even sure why we are banned. But we'll try figure it out
KaozTiposta
(OP)
Full Member
Offline
Activity: 244
Merit: 101
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:12:24 PM
#5
Thanks friends. I'm not using php so that link is not for me. I will go with sha512 I guess.
Mitchell
Legendary
Offline
Activity: 4018
Merit: 2214
Verified awesomeness ✔
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:14:56 PM
#6
Quote from: KaozTiposta on August 24, 2014, 04:12:24 PM
Thanks friends. I'm not using php so that link is not for me. I will go with sha512 I guess.
How are you generating the server seed? I really hope that you are using something that is server sided.
.
████▄ ▄████
██████▄ ▄ ▄██████
▀████▀ ▄███▄ ▀████▀
▀▀ ▄██▀▀▀██▄ ▀▀
▄████ ████▄
███████████████
▀████ ████▀
▄█▄ ▀██▄▄▄██▀ ▄█▄
▄███▄ ▀███▀ ▄███▄
▄███▀▀█▀ ▀ ▀█▀▀███▄
▀█▀ ▀█▀
.
Duelbits
▄█
███
▄▄
▄█
███████
█▄
▄█
███████████
█▄
▄██
███████████████
█▄
▄██
██
▄▄▄
█████████
▄▄▄
██
█▄
▄██
██
▐▀
▄▄
▀▌
██
▄
█
▄
██
▐▀
▄▄
▀▌
██
█
███
███
▀▀▀▀
████
▀
███
▀▀▀▀
███
██
▐██
███
███████
■▄▄▄■
███████
███▀
▐████
███
███████████████
████▀
██
██
███
███
██████████
███
██
█▀
▀███
██
███
███
██████
██████▀
▀███
██
███
███
██
██
██
██▀
▀████████
███████▀
.
▄ ▄▄▀▀▀▀▄▄
▄▀▀▄ █
█ ▀▄ █
▄█▄ ▀▄ █
▄▀ ▀▄ ▀█▀
▄▀ ▀█▄▄▄▀▀ ▀
▄▀ ▄▀ ▄▀
Live Games
▄▄▀▀▀▀▀▀▀▄▄
▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄ █ ▄ █ ▀▄
█ █ ▀ ▀ █ █ ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █ █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █▄█
█ ▀▀█ ▀▀█ ▀▀█ █ █▄█
Slots
.
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█ ▄▄ █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █
█ ▄▄ █ █
█ █ █
█ ▄▀▀▄▀▀▄ █ █
█ ▀▄ ▄▀ █ █
Blackjack
|
█▀▀▀▀▀█▄▄▄
▀████▄▄
██████▄
▄▄▄▄▄▄▄▄█▀ ▀▀█
████████▄ █
█████████▄ █
██████████▄ ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀ ████
█ ███
█ █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
NEW!
SPORTS BETTING
|
NEW VIP
LOUNGE
|
..
ALMOST UP TO
..
..
50%
REWARDS
..
.
|
[
Đ
][
Ł
]
AVAILABLE NOW
Advertisements are not endorsed by me.
kerimk2
Full Member
Offline
Activity: 140
Merit: 100
ACCOUNT BANNED. Email in sig!!
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:15:57 PM
#7
Quote from: bitcoininformation on August 24, 2014, 04:14:56 PM
Quote from: KaozTiposta on August 24, 2014, 04:12:24 PM
Thanks friends. I'm not using php so that link is not for me. I will go with sha512 I guess.
How are you generating the server seed? I really hope that you are using something that is server sided.
Yea how is he doing this without php. I thought php was the only option for this kind of thing.
If you need support for AutoPonzi contact:
autoponzi@gmail.com
We aren't sure how long the ban is for. We aren't even sure why we are banned. But we'll try figure it out
Cortex7
Full Member
Offline
Activity: 238
Merit: 106
Re: How can I create server seed for a gamble game?
August 24, 2014, 04:16:23 PM
#8
Quote from: KaozTiposta on August 24, 2014, 04:12:24 PM
Thanks friends. I'm not using php so that link is not for me. I will go with sha512 I guess.
Yes, but what random number generator are you using?
Some can allow hackers to gain advantage above house edge.
Dabs
Legendary
Offline
Activity: 3416
Merit: 1912
The Concierge of Crypto
Re: How can I create server seed for a gamble game?
August 24, 2014, 05:06:35 PM
#9
Generate random values using Node.js crypto module
Alternative to the above mentioned options might be generation of random values using crypto.randomBytes(size, [callback]) method from crypto Node.js module. randomBytes returns a buffer with randomly generated bytes. It can work asynchronously (when callback function is provided) or synchronously (only size parameter is provided). Returned buffer can be transformed using different encodings to get required format.
Escrow Service (Historical)
-
Feed Some Children by Dabs (Historical)
- GPG ID:
32AD7565
, OTC ID:
Dabs
DAM Datamine Network. FLUX. Time is money 2.0
https://datamine-crypto.github.io/realtime-decentralized-dashboard/
https://freebitcoins.com/?aKey=df2c471a520b751715065b0b3ac9359043e9993c
gweedo
Legendary
Offline
Activity: 1498
Merit: 1000
⇾
Re: How can I create server seed for a gamble game?
August 25, 2014, 01:54:13 AM
#10
If you have to ask this question, this probably means you shouldn't be running a game like dice. I get low-level hacking attempts everyday towards my server, just a warning if you can't defend this attacks you will be run down very fast.
Pages: [
1
]
Print
Bitcoin Forum
>
Other
>
Off-topic
>
How can I create server seed for a gamble game?
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...