Anonymous user
OpenWebNet password: Difference between revisions
Updated D entry
(+ D entry) |
(Updated D entry) |
||
Line 22:
pure nothrow @safe @nogc
in {
} body {
enum ulong m_1 =
enum ulong m_8 =
enum ulong m_16 =
enum ulong m_128 =
enum ulong m_16777216 =
auto flag = true;
Line 133 ⟶ 131:
void ownTestCalcPass(in string sPassword, in string nonce, in ulong expected)
in {
assert(sPassword.representation.all!isDigit);
assert(nonce.representation.all!isDigit);
} body {
immutable password = sPassword.to!ulong;
|