C 0000009 mmmv salting algorithm 01

From commentsarchive
Revision as of 07:41, 19 December 2020 by Martin Vahi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

C 1..100


Saltable data is a single base 10 positive whole number D, $0 \leq D$. $n_{saltdigits}$ is a positive whole number, $1 \leq n_{saltdigits}$.


$x_1 = (D + 1) \cdot 10^{n_{saltdigits}}$


The $n_{saltdigits}$ lowest digits of $x_1$ are replaced with single digit random numbers, which may also be zero.