irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

obf.h
Go to the documentation of this file.
1 
3 /* definitions for obf routines */
4 #ifndef OBF_H__
5 #define OBF_H__
6 
7 #define HASH_TYPE_MD5 1
8 #define HASH_TYPE_SHA1 2
9 #define HASH_TYPE_DEFAULT 3
10 #define SHA1_FLAG_STRING ":::sha1"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 void obfDecodeByKey( const char *in, const char *key, char *out );
17 int obfRmPw( int opt );
18 int obfGetPw( char *pw );
19 int obfSavePw( int promptOpt, int fileOpt, int printOpt, const char *pwArg );
20 int obfTempOps( int tmpOpt );
21 int obfiGetEnvKey();
22 int obfiGetTv( char *fileName );
23 int obfiDecode( const char *in, char *out, int extra );
24 int obfiGetPw( const char *fileName, char *pw );
25 int obfiOpenOutFile( const char *fileName, int fileOpt );
26 int obfiWritePw( int fd, const char *pw );
27 void obfiEncode( const char *in, char *out, int extra );
28 void obfEncodeByKey( const char *in, const char *key, char *out );
29 void obfEncodeByKeyV2( const char *in, const char *key, const char *key2, char *out );
30 void obfDecodeByKeyV2( const char *in, const char *key, const char *key2, char *out );
31 void obfMakeOneWayHash( int hashType, unsigned const char *inBuf,
32  int inBufSize, unsigned char *outHash );
33 void obfSetDefaultHashType( int type );
35 char *obfGetMD5Hash( const char *stringToHash );
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif // OBF_H__
obfiDecode
int obfiDecode(const char *in, char *out, int extra)
Definition: obf.cpp:742
obfTempOps
int obfTempOps(int tmpOpt)
Definition: obf.cpp:379
obfRmPw
int obfRmPw(int opt)
Definition: obf.cpp:212
obfDecodeByKey
void obfDecodeByKey(const char *in, const char *key, char *out)
Definition: obf.cpp:1155
obfiGetTv
int obfiGetTv(char *fileName)
Definition: obf.cpp:405
obfEncodeByKeyV2
void obfEncodeByKeyV2(const char *in, const char *key, const char *key2, char *out)
Definition: obf.cpp:1120
obfSetDefaultHashType
void obfSetDefaultHashType(int type)
Definition: obf.cpp:956
obfGetMD5Hash
char * obfGetMD5Hash(const char *stringToHash)
Definition: obf.cpp:1305
obfiEncode
void obfiEncode(const char *in, char *out, int extra)
Definition: obf.cpp:534
obfiWritePw
int obfiWritePw(int fd, const char *pw)
Definition: obf.cpp:502
obfGetPw
int obfGetPw(char *pw)
Definition: obf.cpp:159
obfMakeOneWayHash
void obfMakeOneWayHash(int hashType, unsigned const char *inBuf, int inBufSize, unsigned char *outHash)
Definition: obf.cpp:970
obfSavePw
int obfSavePw(int promptOpt, int fileOpt, int printOpt, const char *pwArg)
Definition: obf.cpp:281
obfiGetPw
int obfiGetPw(const char *fileName, char *pw)
Definition: obf.cpp:429
obfiOpenOutFile
int obfiOpenOutFile(const char *fileName, int fileOpt)
Definition: obf.cpp:457
obfGetDefaultHashType
int obfGetDefaultHashType()
Definition: obf.cpp:964
obfDecodeByKeyV2
void obfDecodeByKeyV2(const char *in, const char *key, const char *key2, char *out)
Definition: obf.cpp:1268
obfEncodeByKey
void obfEncodeByKey(const char *in, const char *key, char *out)
Definition: obf.cpp:1007
manual_cleanup.out
out
Definition: manual_cleanup.py:29
type
int type
Definition: filesystem.cpp:103
obfiGetEnvKey
int obfiGetEnvKey()
Definition: obf.cpp:950