Which of the following best describes end-to-end encryption?
A) A method of data protection where encryption occurs only during transmission, leaving data unencrypted when stored
B) A security measure where data is encrypted before being sent and decrypted only by the intended recipient, preventing access by intermediaries
C) A technique used to encrypt data at rest but not during transmission
D) A process of applying encryption only at the initial and final stages of data transfer