<s> """<STR_LIT>""" <EOL> import os <EOL> import re <EOL> import random <EOL> import binascii <EOL> from utilitybelt import is_int , is_hex <EOL> from . b58check import is_b58check <EOL> def is_secret_exponent ( val , curve_order ) : <EOL> return ( isinstance ( val , ( int , long ) ) and val >= <NUM_LIT:1> and val < curve_order ) <EOL> def is_256bit_hex_string ( val ) : <EOL> return ( isinstance ( val , str ) and len ( val ) == <NUM_LIT:64> and is_hex ( val ) ) <EOL> def is_wif_pk ( val ) : <EOL> return ( len ( val ) >= <NUM_LIT> and len ( val ) <= <NUM_LIT> and is_b58check ( val ) ) <EOL> def is_b58check_address ( val ) : <EOL> return is_b58check ( val ) <EOL> def is_hex_ecdsa_pubkey ( val ) : <EOL> return ( is_hex ( val ) and len ( val ) == <NUM_LIT> ) <EOL> def is_binary_ecdsa_pubkey ( val ) : <EOL> return ( isinstance ( val , str ) and len ( val ) == <NUM_LIT:64> ) </s>
