about summary refs log tree commit diff
path: root/src/test.cc
blob: cce226ba9267843a4591f3dfc342b981670f6149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>

#include "hash.hh"

int main(int argc, char * * argv)
{
    Hash h = hashFile("/etc/passwd");
    
    cout << (string) h << endl;

    h = parseHash("0b0ffd0538622bfe20b92c4aa57254d9");
    
    cout << (string) h << endl;

    return 0;
}