Decrypter
Version: 1.05
This Library can be used to
- Encrypt a string to a Hex-View of the encrypted string.. The resulting string only contains the character 0 to 9 and A to F. So it is save to be used in any httputils-call-parameter for example.
- Decrypt a String to its Original String. The string to decode must be the output of the Encrypt-Method.
For the php-side you can use the attached php-class to En- and de-crypt strings which are encrypted by the b4a-library (or by the php itself)
The Library is a wrapper for this Github-Project.
Please note that the Key must be 16 Characters long! Or maybe a multiple of 16. Just want to warn about an Exception i got while developing the wrapper
Decrypter
Version: 1.05
This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
Please click here to donate (You can donate any amount you want to donate for the library (or my work)
Please note that this library is Compatible with B4J too!
Version: 1.05
This Library can be used to
- Encrypt a string to a Hex-View of the encrypted string.. The resulting string only contains the character 0 to 9 and A to F. So it is save to be used in any httputils-call-parameter for example.
- Decrypt a String to its Original String. The string to decode must be the output of the Encrypt-Method.
For the php-side you can use the attached php-class to En- and de-crypt strings which are encrypted by the b4a-library (or by the php itself)
The Library is a wrapper for this Github-Project.
Please note that the Key must be 16 Characters long! Or maybe a multiple of 16. Just want to warn about an Exception i got while developing the wrapper
Decrypter
Version: 1.05
Methods:- bytesToHex (buf() As Byte) As String
- decrypt (code As String) As Byte[]
- encrypt (text As String) As Byte[]
- encrypt2 (toencrypt() As Byte) As Byte[]
- hexToBytes (str As String) As Byte[]
- Crypter
Methods:- Initialize (passphrase As String, Secret As String)
- decrypt (encrypted As String) As String
Decode a encrypted base64 string and return the decrypted string - encrypt (toEncrypt As String) As String
Encrypt a string and give back an encrypted and base64 encoded string - encrypt2 (toEncrypt() As Byte) As String
This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
Please click here to donate (You can donate any amount you want to donate for the library (or my work)
Please note that this library is Compatible with B4J too!
Attachments
Last edited: