Android Question B4XEncryption from String to String

Discussion in 'Android Questions' started by aeric, Jul 9, 2015.

  1. aeric

    aeric Active Member Licensed User

    Using B4XEncryption library, I am able to encrypt a string to byte then decrypt the byte back to string
    String1 --> Encrypt(String1) --> Byte --> Decrypt(Byte) --> String1
    Can I encrypt a string to a cipher string then decrypt the cipher string back to string?
    String1 --> Encrypt(String1) --> String2 --> Decrypt(String2) --> String1
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Not sure what you mean with cipher string. You can convert raw bytes to a string with the base 64 encoding (StringUtils).
     
  3. aeric

    aeric Active Member Licensed User

    Thanks Erel. I get it.
     
Loading...