Please am getting this error when decrypting an encrypted string using IV and . "Error decoding data as string."
When I Use Dim result As String= BytesToString(data,0,data.Length,"UTF-8")
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 " Error decoding data as string." UserInfo={NSLocalizedDescription= Error decoding data as string.}>
But When I Use Dim result As String= Bconv.HexFromBytes(data) , then there is no error
Please I want to get the original string but not in hexa format.
When I Use Dim result As String= BytesToString(data,0,data.Length,"UTF-8")
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 " Error decoding data as string." UserInfo={NSLocalizedDescription= Error decoding data as string.}>
But When I Use Dim result As String= Bconv.HexFromBytes(data) , then there is no error
Please I want to get the original string but not in hexa format.