draft of Streams/iostream/SerializeItemToBLOB - just to cleanup crypto stuff - maybe not long term)