'Simple test of AllOrNothing'

def runTest(self):

    from Crypto.Cipher import AES
    import base64
    for i in range(50):
        x = AllOrNothing.AllOrNothing(AES)
        msgblocks = x.digest(text)
        y = AllOrNothing.AllOrNothing(AES)
        text2 = y.undigest(msgblocks)
        self.assertEqual(text, text2)
