# rampart_crypto_util.h File Reference

Crypto related utility module. More...

`#include <axutil_utils_defines.h>`
`#include <axis2_defines.h>`
`#include <axutil_env.h>`

Go to the source code of this file.

## Functions
AXIS2_EXTERN axis2_char_t * | rampart_crypto_sha1 (const axutil_env_t *env, const axis2_char_t *nonce, const axis2_char_t *created, const axis2_char_t *password)

## Detailed Description

Crypto related utility module.

## Function Documentation

AXIS2_EXTERN axis2_char_t* rampart_crypto_sha1 | ( | const axutil_env_t * | env,
|  | const axis2_char_t * | nonce,
|  | const axis2_char_t * | created,
|  | const axis2_char_t * | password |
| ) |  |  |

Calculate the hash of concatenated string of nonce+created+password

Parameters:

  | env | pointer to environment variable
  | nonce | randomly created bytes
  | created | created time
  | password | password to be hashed

Returns:
  calculated hash on success. NULL otherwise