MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / pprint_bytes

Function pprint_bytes

Tools/pprint.h:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace std;
8
9inline void pprint_bytes(const char* label, unsigned char* bytes, int len,
10 ostream& out = cout)
11{
12 out << label << ": ";
13 for (int j = 0; j < len; j++)
14 out << setfill('0') << setw(2) << hex << (int) bytes[j];
15 out << dec << endl;
16}
17
18#endif

Callers 3

set_mac_keyMethod · 0.85
generate_mac_keysFunction · 0.85
check_file_signatureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected