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).

Ansible: How to encrypt some variables in an inventory file in a separate vault file?

The settings Consider an Ansible inventory file similar to the following example: [san_diego] host1 host2 [san_francisco] host3 host4 […

encryption ansible ansible-playbook ansible-vault
RSA Encryption with given public key (in Java)

I'm looking for a Java sample how to do RSA Encryption with a given public key (I have it in …

java encryption rsa
RSA Encryption Decryption in Android

I am implementing a demo for RSA Encryption and Decryption in Android. I can Perform Encryption very well, but In …

android rsa public-key-encryption encryption
CryptographicException "Key not valid for use in specified state." while trying to export RSAParameters of a X509 private key

I am staring at this for quite a while and thanks to the MSDN documentation I cannot really figure out …

c# .net encryption cryptography rsa
Best way encrypt password php (in 2017)

In my website I use md5 to crypt password user in my database (and store session user) $pswUser = md5($_POST["…

php encryption password-encryption
How to extract the RSA public key from a .cer and store it in a .pem using OpenSSL?

I have the requirement to extract the public key (RSA) from a *.cer file. I wish to extract the key …

encryption openssl rsa pem cer
What is the optimal length for user password salt?

Any salt at all will obviously help when salting and hashing a user's password. Are there any best practices for …

encryption hash salt
How does the RSA private key passphrase work under the hood?

RSA private keys may be assigned a "passphrase" which - as I understand it - is intended to provide some …

security encryption rsa
AES-256 encryption in PHP

I need a PHP function, AES256_encode($dataToEcrypt) to encrypt the $data into AES-256 and another one AES256_decode($encryptedData) …

php security encryption aes encryption-symmetric
What causes the error "java.security.InvalidKeyException: Parameters missing"?

I'm trying to encrypt and decrypt a string using AES but getting an error I don't know how to resolve. …

java aes encryption