(trunk libT) #1276 - hash rpc password with sha1

This commit is contained in:
Erick Turnquist
2009-03-24 01:39:06 +00:00
parent 5cd6c41ec7
commit 44ea61bced
3 changed files with 57 additions and 13 deletions

View File

@@ -95,7 +95,8 @@ int tr_cryptoWeakRandInt( int n );
void tr_cryptoRandBuf( unsigned char *buf,
size_t len );
char* tr_crypt( const void * plaintext );
char* tr_ssha1( const void * plaintext );
tr_bool tr_ssha1_matches( const char * source, const char * pass );
#endif