changed encryptedString to encryptedBytes