Blind

Prevents timing and power side channel attacks by obfuscating the processing of T.

Remarks: - This obviously has performance impacts and is designed to be used in cryptography. - Only supports integral types for simplicity.

Constructors

this
this(T val)
Undocumented in source.

Alias This

value

Members

Functions

numNextOps
ulong numNextOps()
Undocumented in source. Be warned that the author may not have intended to support it.
obscure
void obscure()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
auto opAssign(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
auto opAssign(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(R rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(R rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
auto opBinaryRight(L lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
auto opBinaryRight(L lhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
auto opOpAssign(A ahs)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
auto opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
auto opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

state
ulong state;
Undocumented in source.
value
T value;
Undocumented in source.

Meta