Where to store encryption passwords

I get the reasons for security and encryption. But I'm really confused on how to set it up or use it. I'm working on encrypting passwords our application uses to access the database and other third-party APIs. I'm working under the assumption that p...
more »

2017-10-04 22:10 (0) Answers

How to password protect a string of text?

I've seen lots of similar questions but not quite sure which is applicable to this situation. I have a program that sends sensitive information by email. I would like the email to be scrambled such that the recipient must know the password in order t...
more »

2017-10-04 06:10 (2) Answers

Autowired TextEncryptor

public class Crypt { private String textToWorkWith = null; @Autowired private TextEncryptor encryptor; public Crypt(){} public String encrypt() throws NullPointerException { if(this.textToWorkWith != null){ return encryp...
more »

2017-10-03 21:10 (0) Answers

Base64 encode/decode in ECC encrypt and decrypt

I want to test the ECC algorithm encrypt and decrypt. I write code to: Generate key pair (publickey and privatekey) ---> write them to file (maybe not secure but I just only test). Then using public key to encrypt my string (Write on Java) Now, I ...
more »

2017-10-02 20:10 (1) Answers

AES Encryption / Decryption doesnt match

I have implemented AES - Decryption method as below - which works perfect. (I receive Encrypted text from other program) public static String decrypt(String encryptedText, byte[] keyValue) { try { byte[] inputArr = B...
more »

2017-09-25 08:09 (0) Answers

How to securely store AES key and iv in android?

I have an android app which is receiving data from a php page using HTTP get/post request. I'm encrypting the data at server side and decrypting in android. I'm using AES 128bit Encryption, I have hardcoded the strings key and iv in the android side....
more »

2017-09-24 16:09 (3) Answers

Xor algorithm with no special characters using VBA

For a project I am developing I need to use some kind of encryption algorithm to encrypt some sensitive data, where each user has a unique hex key. Basically I have to encrypt a string and write it to a file to import to a Access database (we are n...
more »

2017-09-21 23:09 (0) Answers

Cross platform compatibility of iOS encryption

I'm using iOS Security framework for encryption. Specifically I'm using the ECIES encryption which seems to be very specific in the selection of key exchange, derivation, hashing and authenticated encryption. Is the output cross-platform compatible i...
more »

2017-09-21 16:09 (0) Answers

How to use passphrase for RSAPrivateKey in JAVA?

I encrypt and decrypt with RSA 2048 keys. But for additional security I need to use passphrase for RSAPrivateKey with a AES 128 method. I can generate this keys, but I don't know how to use them in JAVA. In my code I initialize private (witout pass...
more »

2017-09-21 13:09 (2) Answers

Encryption of csv before Upload

We have a windows service which monitors a folder (using filewatcher of C#) for files and uploads the files to a blob. Windows service retrieves the Write only SAS token , which is used to generate the blob client to upload to a blob, from a WebAPI e...
more »

2017-09-20 09:09 (1) Answers

Php Database - Content Encryption / Decryption

Greetings Stack Overflow community, I'm working on a website that will input data into a Database, and the data itself is rather sensitive. As a precaution I want to have some Encryption / Decryption occur, and while I have had success in some basic...
more »

2017-09-18 15:09 (0) Answers

Vigenere's cipher in C several problems

I have made program which encrypts and decrypts Vigenere's cipher but I have several problems. Here is one: First letter of sentence is encrypted incorrectly. Second one: After sentence I have letter K. I think that's because of space but I don't k...
more »

2017-09-17 19:09 (2) Answers

Encrypt - Decrypt AES PHP - URL one time use only

I managed to make a code to encrypt and decrypt data in AES-CCM in PHP language. This code retrieves data, sends it to a server and adds it to a database via post URL. But if someone has access to the URL and sends it several times to the server, it ...
more »

2017-09-16 11:09 (0) Answers

Firebase database encryption and security

I'm very new to Firebase and security, so I'm not 100% about how secure Firebase is... For instance, I have a database that stores user information. Can I assume this is secure..? Very secure? I noticed an excerpt on the Firebase Docs: By def...
more »

2017-09-15 18:09 (0) Answers

Storing mail server pwd in database

My Laravel application needs to connect to a 3rd party email server using the mail server (SMTP/IMAP) user & pwd settings (which are different than the logged in user & pwd). Each user will have their own user & pwd and when sending/recei...
more »

2017-09-11 03:09 (0) Answers

How to store Encryption Keys while in use

I am making a social media type website, and I store user details such as emails, names and other personal details. I will be encrypting the personal details using an Encrypt-then-MAC concept. When the user registers, a cryptographically secure stri...
more »

2017-09-02 12:09 (1) Answers