Function SHA.put

Use this to feed the digest with data. Also implements the range, OutputRange interface for ubyte and const(ubyte)[].

Prototype

void put(
  scope const(ubyte)[] input
);

Example

typeof(this) dig;
dig.put(cast(ubyte)0); //single ubyte
dig.put(cast(ubyte)0, cast(ubyte)0); //variadic
ubyte[10] buf;
dig.put(buf); //buffer


Authors

The routines and algorithms are derived from the Secure Hash Signature Standard (SHS) (FIPS PUB 180-2). Kai Nacke, Johannes Pfau, Nick Sabalausky

Copyright

License

Boost License 1.0