| Function Summary |
| |
bit_length(n)
|
| |
deflate_long(n,
add_sign_padding)
turns a long-int into a normalized byte string (adapted from
Crypto.Util.number) |
| |
format_binary(data,
prefix)
|
| |
format_binary_line(data)
|
| |
format_binary_weird(data)
|
| string
|
generate_key_bytes(hashclass,
salt,
key,
nbytes)
Given a password, passphrase, or other human-source key, scramble it
through a secure hash into some keyworthy bytes. |
| |
hexify(s)
turn a string into a hex sequence |
| |
inflate_long(s,
always_positive)
turns a normalized byte string into a long-int (adapted from
Crypto.Util.number) |
| |
log_to_file(filename,
level)
send paramiko logs to a logfile, if they're not already going
somewhere |
| |
mod_inverse(x,
m)
|
| |
safe_string(s)
|
| |
tb_strings()
|
| |
unhexify(s)
turn a hex sequence back into a string |