title: How can I make some methods only visible to two different classes?
body: <p>I’ve got some encryption and decryption methods, and I want to be able to use them within two different classes.</p>
  
  <p>But of course, I don’t want to make them public, as then they can be called by anyone? How can I make these methods just visible to two specific classes, and nowhere else.</p>
  
  <p><strong>EDIT:</strong> What if I cannot extend the class, since these other classes are already extending some other classes?</p>