How to Convert UInt8 to Anyobject in Swift 2.3
<p>I am trying in CryptoSwift and i tried to UInt8 to Anyobject .</p>

<p>How to Convert this </p>

<p>let encrypted:[UInt8]!</p>

<pre><code>        encrypted = try AES(key: value, iv: iv, blockMode: .CBC, padding: PKCS7()).encrypt(myArray)

    let mynObject:AnyObject = encrypted as! AnyObject
</code></pre>

<p>Could not cast value of type 'Swift.Array>' (0x11a6062e8) to 'Swift.AnyObject' (0x119d3d018).</p>

<p>Anyone help really Appreciated</p>

<p>Thank you</p>