When two friends part they should lock up one another's secrets, and interchange their keys.
Owen Feltham (1840). “Resolves: divine, moral and political”, p.114

When two friends part they should lock up one another's secrets, and interchange their keys.