Function std.digest.toHexString
Used to convert a hash value (a static or dynamic array of ubytes) to a string. Can be used with the OOP and with the template API.
						
				char[num*2] toHexString(Order order = Order
				  in ubyte[num] digest
				
				);
				
				
				char[num*2] toHexString(LetterCase letterCase, Order order = Order
				  in ubyte[num] digest
				
				);
				
				
				string toHexString(Order order = Order
				  in ubyte[] digest
				
				);
				
				
				string toHexString(LetterCase letterCase, Order order = Order
				  in ubyte[] digest
				
				);
						
					
				The additional order parameter can be used to specify the order of the input data. By default the data is processed in increasing order, starting at index 0. To process it in the opposite order, pass Order.decreasing as a parameter.
The additional letterCase parameter can be used to specify the case of the output data. By default the output is in upper case. To change it to the lower case pass LetterCase.lower as a parameter.
Note
The function overloads returning a string allocate their return values using the GC. The versions returning static arrays use pass-by-value for the return value, effectively avoiding dynamic allocation.
Example
import stdExample
import stdAuthors
Johannes Pfau