This is an updated example how to en-/decrypt data with AES256.
Libs needed: jRandomAccessFile only
- As far as I know, the ESP32 doesn't support padding like PKCS5/7, so I had to do it on my own
- Other Cyphers support padding
- AES is a block cipher, so we have to build one block...
My app sends requests to the server and in this request some data is encrypted (for example device id, username, etc...)
It works fine since March 2020 and today one of my customer can't register with the server because string encrypted in my app on his LG X screen phone with Android...
i want to make a file encrypter ...
normally for larg files i get OutOfMemory error ...
how i can use RAF for this work ?
Sub ReadFile(Dir As String, flname As String) As Byte()
Dim out As OutputStream
out.InitializeToBytesArray(100) 'size not really important...
Hello all, Happy New year
I am designing an application that has a need to store sensitive information ( CC with CVV ) for recurring payments. ( Yes, I know we should avoid this where possible )
I have looked at various methods of doing this.
1. Encrypt data in B4J and store it in the DB...
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...
I am trying to create a simple application that allows to send and receive messages in a secure way, using rsa or another similar system.
I wrote this little code to see if it was possible to create a pair of keys (one public and one private), save them and use them again later...
Hi, I'm working on conversion my b4a app to b4i and have encrypt / decrypt problem
I already have a code that does encryption / decryption on Android and on VB.NET on my server.
Sub Encrypt(dataToEncrypt As String ) As String
Dim kg As KeyGenerator
Dim c As Cipher
Dim B64 As...