Top "Encryption" questions

Encryption is the process of transforming information (called plaintext) into an unreadable form (called ciphertext) using an encryption algorithm combined with a parameter (called an encryption key).

invalid AES key length error

this code give invalid AES key length error. how can i correct it ? ( i want 128 bit key AES encryption ) package …

java encryption aes
Generate RSA key pair and encode private as string

I want to generate 512 bit RSA keypair and then encode my public key as a string. How can I achieve …

java encryption rsa
getting a IllegalBlockSizeException: Data must not be longer than 256 bytes when using rsa

I am using rsa key to encrypt a long string which I will send to my server(will encrypt it …

java rsa encryption
I need to securely store a username and password in Python, what are my options?

I'm writing a small Python script which will periodically pull information from a 3rd party service using a username and …

python security encryption
Can I encrypt my JSON data?

I'm developing a JQuery web app that will be executed locally from a DVD. The app will read all the …

json encryption permissions obfuscation
Should I impose a maximum length on passwords?

I can understand that imposing a minimum length on passwords makes a lot of sense (to save users from themselves), …

security encryption passwords
What is the purpose of base 64 encoding and why it used in HTTP Basic Authentication?

I don't get the Base64 encryption. If one can decrypt a Base64 string, what is it's purpose? Why is it …

security encryption base64
Recommendations on a free library to be used for zipping files

I need to zip and password-protect a file. Is there a good (free) library for this? This needs to be …

java encryption zip
Correct way to sign and verify signature using bouncycastle

I am using bcmail-jdk16-1.46.jar and bcprov-jdk16-1.46.jar (Bouncycastle libraries) to sign a string and then verify the …

java encryption cryptography digital-signature bouncycastle