Bug fixes to parsing JSON, encrypting and decrypting. Made a KEY_SIZE_VALUE for storing value of keysize