Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [seed]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

What is the best way to use a string with characters other than numbers as a random seed?

Is this done using cryptographic hashing, or just with a sum of the ASCII codes? A possible use case would be on a video game with random procedural generation, where the game allows users to enter a ...
user56510's user avatar
0 votes
0 answers
38 views

Can I recover the seed used to generate the internal state of MT19937 using the state itself?

Is there any way to extract the seed that has been used to generate the state in python or any other language? I tried to find the implementation of the random.seed ...
Someone's user avatar
0 votes
1 answer
372 views

How do bad actors manipulate game results in real time within 'provably fair' gaming systems?

Ive been assigned research involving online gaming companies and their use of cryptographic algorithms to produce 'provably fair' results. The largest player in the industry uses a method involving a ...
Joey Jolly's user avatar
1 vote
1 answer
100 views

Is it safe to derive a Falcon512 key pair from a XOF output?

I'm working on a program that requires multiple key pairs from multiple algorithms to be derived from a single 128-byte master seed. However, I couldn't find an implementation for Falcon512 that ...
Zola Gonano's user avatar
0 votes
0 answers
47 views

RSA with p and q being generated by pow expression of weak random seed

n, e and modulus of RSA are given and n is very large. p and q are primes generated by pow(7, random_seed, modulus), and the seed that p and q used is very close. ...
Imanity's user avatar
0 votes
1 answer
76 views

If encrypting with a hash function in counter mode, will the security of this scheme be at most minimal{input,output}?

It's possible to use a hash function as an encipherment scheme if used in counter mode. Let's suppose I take a 64-bytes (512-bits) seed/key and hash it concatenated with counters, and use it as a ...
alpominth's user avatar
  • 393
1 vote
1 answer
76 views

Can the last n bitcoin blocks (including transactions) be reliable enough to be used as a seed for a PRNG or an input to a crypto hash-function?

Suggested by u/HolgerBier on reddit Is it unpredictable enough or too difficult to manipulate (as in more than a few hundred million USD) to have a sequence of blocks?
TheReal_Skywalker's user avatar
1 vote
0 answers
51 views

What are some ways to produce a pre-determined sequence of a large number of dice rolls? [closed]

What are some ways to produce a pre-determined sequence of a large number of dice rolls (on the order of 100-1000 times) using biased dice or a biased human roller given the constraints that multiple ...
TheReal_Skywalker's user avatar
0 votes
0 answers
70 views

Hashing a seed full of entropy with a cryptographic hash function and emiting a key with the same size as input: can a collision attack occurs?

I read this in the documentation of HighwayHash: By contrast, 'strong' hashes such as SipHash or HighwayHash require infeasible attacker effort to find a hash collision (an expected 2^32 guesses of m ...
alpominth's user avatar
  • 393
0 votes
0 answers
22 views

Once a secure hash function built up a (fast) internal hash table, can data to be hashed be different from the data inserted when doing the lookups?

One experienced user of this forum said: "The key is the input of the hash function to build up a fast internal hash table. The key is hashed again to perform the lookup.". If I hash a data ...
alpominth's user avatar
  • 393
1 vote
0 answers
57 views

Public seed expansion for uniform reference strings

Many cryptographic protocols are parameterized by a uniformly random reference string (e.g. the commitment key for Pedersen commitments). Our goal is to publicly generate the random values of this ...
Joseph Johnston's user avatar
0 votes
2 answers
70 views

Does processing a trully random seed though a non-cryptographic PRNG will result in a unpredictable stream?

I have been studying C/C++ and I read that if one wants unpredictable random data in a program, it is needed that a random generation function be supplied with truly and unpredictable random data (as ...
phantomcraft's user avatar
1 vote
0 answers
298 views

Understanding seed phrase, private key, wallet addresses

I have a question about Cryptocurrency wallets like Metamask (soft) or Ledger (hard). How is a 12 or 24 word seed phrase enough to show the same crypto addresses in any crypto wallet that supports the ...
HankCa's user avatar
  • 139
1 vote
1 answer
122 views

Is BLAKE2X suitable for generating keys with any security in bits event if BLAKE2 having only 256/512-bits?

I can generate a key of any security in bits with any hash function from random source with enough entropy by using the following scheme: $$H(00||S) || H(01||S) || H(02||S) || H(03||S) || \cdots$$ /\ ...
phantomcraft's user avatar
1 vote
1 answer
64 views

Hashing a seed together with a block counter and using as a encipherment scheme: What scheme is more secure in practice?

This question is related to this (but it is not the same). Let's suppose I have a seed with an entropy of 1024-bits and hash it with a counter using a hash function with one-quarter of the seed size ...
phantomcraft's user avatar
2 votes
1 answer
196 views

Correlation among pseudorandom sequences generated from correlated seeds

I want to see and mathematically verify how pseudonoise (PN) sequence generated by LFSR or maximum length codes would correlate (auto-correlation and cross correlation) for seeds of varying ...
Jay's user avatar
  • 195