operations
get_hash_from_str(input_str=None, encoding='utf-8')
Return a hashed version of an input string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_str |
str
|
The string to hash |
None
|
encoding |
str
|
The character encoding to use |
'utf-8'
|
Returns:
| Type | Description |
|---|---|
str
|
A hashed representation of |
Raises:
| Type | Description |
|---|---|
ValueError
|
When input validation fails |
Exception
|
A generic |