Linked Questions

39 votes
7 answers
278k views

I want to encrypt a string and then put it on a file. Also want to decrypt it when I want. I don’t need very strong security. I just want to make it harder to get my data others. I tried several ...
Xplosive's user avatar
  • 691
14 votes
1 answer
55k views

I need to know how to create an AES and using it to encrypt and decrypt a file in java.
Princeyesuraj's user avatar
-2 votes
2 answers
5k views

i found a source for android encryption..its using AES 128 Bit encryption..but the number of secret key is fix to 16character..can anyone tell me how to change the number secret key as our wish..i don'...
user3564082's user avatar
119 votes
10 answers
487k views

What's wrong with the following example? The problem is that the first part of the decrypted string is nonsense. However, the rest is fine, I get... Result: `£eB6O�geS��i are you? Have a nice day. @...
TedTrippin's user avatar
  • 3,652
109 votes
10 answers
214k views

Is there any good example of how to encrypt and decrypt image and other files with AES on Android?
hardartcore's user avatar
  • 17.1k
89 votes
6 answers
51k views

Java .class files can be decompiled fairly easily. How can I protect my database if I have to use the login data in the code?
Jakob Cosoroaba's user avatar
65 votes
6 answers
95k views

I have a test which runs great on my development MacBook Pro, but fails to run in continuous integration TeamCity server. The error is following: java.security.InvalidKeyException: Illegal key size ...
Vladimir's user avatar
  • 4,870
40 votes
6 answers
95k views

Many in-house solutions come to mind. Like having the properties in a database and poll it every N secs. Then also check the timestamp modification for a .properties file and reload it. But I was ...
David Hofmann's user avatar
15 votes
6 answers
35k views

I am trying to encrypt some text using the AES algorithm on both the Android and IPhone platforms. My problem is, even using the same encryption/decryption algorithm (AES-128) and same fixed variables ...
UBA_MobileTeam's user avatar
34 votes
3 answers
64k views

I'm developing an application which read some data from a db. The connection to the db is performed through standard login/password mechanism. The problem is: how to store the db password? If I store ...
Mauri's user avatar
  • 650
10 votes
5 answers
47k views

I have a question relating to the use of an Initialization Vector in AES encryption. I am referencing the following articles / posts to build encryption into my program: [1] Java 256-bit AES ...
MysteryMoose's user avatar
  • 2,363
14 votes
4 answers
48k views

I need to generate a Key from a string, such that I can always create the same key from the same string. (Specifically a Key object, so that I can use it to create a Cipher in turn to create a ...
Jon Story's user avatar
  • 3,071
27 votes
4 answers
38k views

I am working on an android application, and I need to use encryption for one aspect of it. I am really indifferent to which algorithm I use (AES, DES, RSA, etc...). I am aware that Java has a crypto ...
Señor Reginold Francis's user avatar
14 votes
4 answers
48k views

Alright, turns out I suck at Encryption/Decryption. I just dont get it. How can I make Java encrypt String message1 = "hello world"; with String salt = "mySalt"; using AES encryption? also how can I ...
cody's user avatar
  • 445
9 votes
4 answers
5k views

Is there an AES encryption library for clojure? should I use a java libray available through maven or clojars? Thank your for your time and consideration.
Levi Campbell's user avatar

15 30 50 per page
1
2 3 4 5
10