BSKM-FC: Blockchain-based secured key management in a fog computing environment