summaryrefslogtreecommitdiff
path: root/src/tests/cryptpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/cryptpass.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/tests/cryptpass.cpp b/src/tests/cryptpass.cpp
deleted file mode 100644
index d272344..0000000
--- a/src/tests/cryptpass.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/crypt.h"
9#include "bu/sio.h"
10
11using namespace Bu;
12
13int main( int argc, char *argv[] )
14{
15 if( argc == 1 )
16 sio << "Syntax: " << argv[0] << " <password> [salt]" << sio.nl
17 << sio.nl;
18 else if( argc == 2 )
19 sio << "Crypt1: >> " << cryptPass( argv[1] ) << " <<" << sio.nl;
20 else
21 sio << "Crypt2: >> " << cryptPass( argv[1], argv[2] ) << " <<" << sio.nl;
22
23 return 0;
24}
25