Posts

RSA Encryption

RSA  Obfuscation For the same security, an elliptic curve algorithm (such as ECDSA) requires a smaller key length than RSA. On the other hand, RSA has been used for a long time, everyone knows how to write Java code and process data. But strong RSA requires increasingly longer encryption keys. In real commercial use of the RSA encryption algorithm, extremely high security can be achieved by using data obfuscation. Here this is not the usual obfuscation of the code, but the transformation of the correct code into "wrong". When the decryption keys or ciphertext are deliberately corrupted and the decryption operation cannot be performed. There can be a large number of processing options. Two code for such processing will not be too big. For example - repositotry https://github.com/vallshmeleff/androidrsa File https://github.com/vallshmeleff/androidrsa/blob/main/RSACode.java   Method   public String ObfuscationD ( String SourceText , String e , String d ) This is the easie

SQLite and RSA

 RSA or ECC RSA may no longer be as strong an encryption algorithm as ECC, but there are some things that can be done to make it very resistant to hacking. At the same time, the main part of the data can be encrypted by the "built-in" software of the Android OS using RSA. Very curious if anyone can hack the following text: "tyubbgh,llet5gcghu8jhxwrtred9lmjnvvtr5gg4dwelmmb75"   Unlikely And all because the text was "masked" without using any logic. Randomly selected bytes were replaced by others. And the replacement option is known only to the receiving party. Those. the text was encrypted and deliberately corrupted. It can be either text or a decryption key. The problem of the stability of any encryption algorithm is the complexity of the logic used. And if there is no logic in the data initially, then it cannot be decoded directly. https://github.com/vallshmeleff Obfuscation    

SQLite and RSA

  RSA Large Text Methods for RSA encryption of large texts have been tested. Now the methods are being connected to the application project   https://github.com/vallshmeleff/sqliteandrsa   to work with the data base of the SQLite. For example, one full in each entry will be encrypted. RSA Large Text

SQLite and RSA

  RSA Large Text The well-known technology demonstrator (JAVA classes) for working with the SQLite database and RSA encryption began to add methods for working with very large texts. Separate block encryption is used. For now, a method for encrypting large text has been added and is being tested. Scrolling Activity is also used to work with the screen. Built-in Android RSA encryption is used. https://github.com/vallshmeleff/androidrsa RSA Large Text

SQLite and RSA

  Android JAVA    The prototype of two methods - for dividing large text into fragments before RSA encryption and for assembling text from fragments after decoding. It is necessary to check and optimize the Java code. https://github.com/vallshmeleff/sqliteandrsa/blob/main/MainActivity_Fragment_Defragment.java Android JAVA

SQLite and RSA

  Android JAVA How many tasks should a programmer who develops an Android application, for example, for a courier, solve? 1. Database 2. Client-Server module 3. Database synchronization 4. Export/Import database 5 Load Images 6. Using the clipboard 7. Send/receive SMS   8. Load Google Maps and determination of coordinates (use GPS)   We will write a ready-made application (template), on the basis of which you can create a commercial application in a few hours. I can write such a project myself, but it will take more time and there will be less creative ideas - more simple programming. It is interesting to invite European programmers to work on an open source project. Maybe students. The project is easily divided into classes. Accordingly, you can distribute the development of individual classes. At some stage, the project can be positioned as a commercial one.     https://github.com/vallshmeleff   Android JAVA      

SQLite encryption

 Android JAVA Let's write a Java code to overcome an important drawback of RSA encryption - the limitation of the length of the encrypted text. To do this, we divide the text into fragments, encrypt and combine into one block. It's not very fast, but it's strong encryption. Then we will further strengthen data protection. We will make some methods for the encryption class. To be comfortable.   SQLite and RSA https://github.com/vallshmeleff/sqliteandrsa We will make an open source JAVA application template for working with databases. With encryption. This will be the basis for commercial applications. It is enough to either enable or disable the desired functionality and slightly change the GUI.   Android JAVA