generating random passwords; encoding, decoding, and converting strings; calculating