Blockchain technologies for leveraging security and privacy