B4J Question B4XCipher is causing errors

Discussion in 'B4J Questions' started by Scantech, May 3, 2019.

  1. Scantech

    Scantech Well-Known Member Licensed User

    I can't figure this out. found example and not working.

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

    OliverA Expert Licensed User

    DonManfred and Scantech like this.
  3. Scantech

    Scantech Well-Known Member Licensed User

    Thanks
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice