B4J Question B4XCipher is causing errors

Scantech

Well-Known Member
Licensed User
Longtime User
I can't figure this out. found example and not working.

B4X:
Sub DecryptText(EncryptedData() As Byte, password As String) As String
    Dim c As B4XCipher
    Dim b() As Byte = c.Decrypt(EncryptedData, password)
    Return BytesToString(b, 0, b.Length, "utf8")
End Sub

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…