Hello
I was previously using :
I am getting an error now :
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 "Method not found: hmacForKeyAndData::, target: <b4i_main: (null)>" UserInfo={NSLocalizedDescription=Method not found: hmacForKeyAndData::, target: <b4i_main: (null)>}>
Is stg changed with ios 11 maybe ?
I was previously using :
B4X:
Public Sub HMACSHA512(key As String, input As String, key_is_hex_string As Boolean) As String
Dim no As NativeObject = Me
Dim keyb() As Byte
Dim bc As ByteConverter
If key_is_hex_string Then
keyb = bc.HexToBytes(key)
Else
keyb = key.GetBytes("UTF8")
End If
Dim res As Object = no.RunMethod("hmacForKeyAndData::", Array(no.ArrayToNSData(keyb), no.ArrayToNSData(input.GetBytes("utf8"))))
Dim resb() As Byte = no.NSDataToArray(res)
Return bc.HexFromBytes(resb).ToLowerCase
End Sub
I am getting an error now :
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 "Method not found: hmacForKeyAndData::, target: <b4i_main: (null)>" UserInfo={NSLocalizedDescription=Method not found: hmacForKeyAndData::, target: <b4i_main: (null)>}>
Is stg changed with ios 11 maybe ?