Dustin-Ray / capyCRYPT

An experimental high-performance cryptosystem.
MIT License
12 stars 1 forks source link

function visibility #44

Closed Dustin-Ray closed 11 months ago

Dustin-Ray commented 11 months ago

when I build things quickly in rust I tend to do lazy things like this. the visibility of some functions should be made public only if they directly face the caller.

anything in ops that's a trait implemented by Message should be public. any functions that these traits rely on should be pub(crate) only. any functions that only need local visibility should be fn

Dustin-Ray commented 11 months ago

https://github.com/drcapybara/capyCRYPT/pull/45