remote string -> stream + encrypt