[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF37FbW24=JL+2cqMNvhWjvH3hg71QM8k+PoeOcKTGRLQCgAEA@mail.gmail.com>
Date: Thu, 3 Apr 2014 12:01:26 +0200
From: atom <atom@...hcat.net>
To: discussions@...sword-hashing.net
Subject: antcrypt phs_gen_output()
Hey Guys,
from antcrypt sources, do I understand this correctly:
ctx->state_bytes = some static value based on m_cost
*(ctx->stateprefix) = 1;
while (...) {
...
SHA512((uint8_t *) ctx->stateprefix, ctx->state_bytes + sizeof(uint32_t),
ctx->rehash);
...
*(ctx->stateprefix) = *(ctx->stateprefix) + 1;
}
In other words, stateprefix will be some fixed value between 1 and a very
low number, maybe 100? In that case, it's simply a static value an attacker
can precompute and it will not take alot of memory.
Anyway, it's used in the phs_gen_output() function, so its called only
once. Improvement over defender will be low.
--
Jens Steube
email: atom@...hcat.net
web: http://hashcat.net/
Content of type "text/html" skipped
Powered by blists - more mailing lists