Returning byte array for encrypt decrypt as temporary fix