mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 09:46:16 +02:00
17 lines
262 B
C++
17 lines
262 B
C++
|
#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;
|
||
|
}
|