Implementation of BB84 quantum key distribution using OptSim | IEEE Conference Publication | IEEE Xplore