I want to use libsodium in my android application to create a secure connection between client and server. The huge advantages of libsodium in comparison to all other encryption libarys are features like password hashing and more modern high-level cryptographic tools . My main focus besides...
Im using that kind of sub with StringUtils and B4XCipher library to encode some passwords :
Sub EncryptText(text As String, password As String) As String
Dim c As B4XCipher
Dim su As StringUtils
Return su.EncodeBase64(c.Encrypt(text.GetBytes("utf8"), password))
This class can be used decrypt data created with LockBox3 and encrypt data that will be properly handled by LockBox3. LockBox3 is an encryption/decryption library for Delphi.
There are actually three classes, LB3AES, LB3AESECB and LB3AESCBC. The only class that is used to instantiate an object...