Container Security & Encryption

Thank you. So, would the solution be to put the algorithms in a binary (external to the container) that is used by the container? Apologies, I am relatively new to containers. I know you said “without” containers but we have a scenario where a container would be useful. If we could protect the algorithms by using an externally mounted file, that would be helpful.