Yes, the “Key Ring” password storage feature automatically detects if a file is encrypted with an already known password and selects it for decryption.