def encryptARC(s):
 iv = helpers.randomKey(8)
 key = helpers.randomKey(8)
 arc4main = ARC4.new(key)
 encrypted = arc4main.encrypt(s)
 return (encrypted, (key, iv))

def encryptARC ( s ) : iv = helpers . randomKey ( 8 ) key = helpers . randomKey ( 8 ) arc4main = ARC4 . new ( key ) encrypted = arc4main . encrypt ( s ) return ( encrypted , ( key , iv ) )
generates a random arc key and iv .