nip.utils.string

nip.utils.string#

Utility functions for string manipulation.

Functions

get_hash_parity(input_string)

Hashes the input string using SHA-256 and checks the parity of the resulting hash.

random_string(length[, capitalise])

Generate a random string of the given length.